1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-08 10:14:11 +01:00

Fix bugs yay.

--HG--
branch : groups
This commit is contained in:
Kris Maglione
2011-02-10 23:45:39 -05:00
parent 30e2971424
commit 43a27346bd
5 changed files with 20 additions and 11 deletions

View File

@@ -296,8 +296,10 @@ var Overlay = Module("Overlay", {
frob("init");
defineModule.modules.forEach(function ({ lazyInit, constructor: { className } }) {
if (!lazyInit)
if (!lazyInit) {
frob(className);
modules[className] = modules[className];
}
else
modules.__defineGetter__(className, function () {
delete modules[className];