From 7ecbc84aa55336006cbd62c7339893710e84ff30 Mon Sep 17 00:00:00 2001 From: buzz-lightsnack-2007 <73412182+buzz-lightsnack-2007@users.noreply.github.com> Date: Sat, 13 Apr 2024 23:34:45 +0800 Subject: [PATCH] improve the comments --- gui/scripts/pages/settings.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gui/scripts/pages/settings.js b/gui/scripts/pages/settings.js index 43372c5..2e5e94e 100644 --- a/gui/scripts/pages/settings.js +++ b/gui/scripts/pages/settings.js @@ -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