improve the comments

This commit is contained in:
buzz-lightsnack-2007 2024-04-13 23:34:45 +08:00
parent 78bed4dd0c
commit 7ecbc84aa5

View file

@ -16,12 +16,15 @@ async function build() {
let window = new windowman();
window.sync();
// Add the window events.
events(window);
};
/*
Define the mapping of each button.
*/
Define the mapping of each button.
@param {object} window the window
*/
function events(window) {
if (document.querySelector(`[data-action="filters,update"]`)) {
document