瀏覽代碼

fix: Make showing/hiding the clock configurable #159

meetqy 1 年之前
父節點
當前提交
9fd32468ad
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/UI/Settings/UIWindowSettings.js

+ 2 - 2
src/UI/Settings/UIWindowSettings.js

@@ -361,10 +361,10 @@ async function UIWindowSettings(options){
             const $this = $(this);  
             const value = $this.val();
 
-            changeClockVisable(value);
+            window.change_clock_visable(value);
         })
 
-        change_clock_visable();
+        window.change_clock_visable();
 
         resolve(el_window);
     });