未验证 提交 42533890 编写于 作者: G GitSquared

Keep mods in window.mods

上级 a2bdd643
......@@ -121,8 +121,10 @@ initMods = () => {
e.setAttribute("class", "mod_column activated");
});
let clock = new Clock("mod_column_left");
let sysinfo = new Sysinfo("mod_column_left");
window.mods = {};
window.mods.clock = new Clock("mod_column_left");
window.mods.sysinfo = new Sysinfo("mod_column_left");
window.mods.cpuinfo = new Cpuinfo("mod_column_left");
};
// Prevent showing menu, exiting fullscreen or app with keyboard shortcuts
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册