mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-06 12:55:45 +01:00
Fix error reported at startup.
This commit is contained in:
@@ -252,9 +252,10 @@ var Overlay = Module("Overlay", {
|
||||
}
|
||||
|
||||
for each (let module in defineModule.modules)
|
||||
defineModule.time(module.constructor.className, "init",
|
||||
module.INIT.init, module,
|
||||
modules.dactyl, modules, window);
|
||||
if (module.INIT.init)
|
||||
defineModule.time(module.constructor.className, "init",
|
||||
module.INIT.init, module,
|
||||
modules.dactyl, modules, window);
|
||||
|
||||
defineModule.modules.map(init);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user