summaryrefslogtreecommitdiff
path: root/common/modules/overlay.jsm
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2011-09-12 18:58:28 -0400
committerKris Maglione <maglione.k@gmail.com>2011-09-12 18:58:28 -0400
commit50f0901412d004840753246cef5b913734861a7a (patch)
tree1fe0886c51c5d878628db715dae32e6b2f0f1e96 /common/modules/overlay.jsm
parent790af21b81a81acb43f84e1e653f9b186cb6fdc8 (diff)
downloadpentadactyl-50f0901412d004840753246cef5b913734861a7a.tar.gz
Fix link listing in :hi output.
Diffstat (limited to 'common/modules/overlay.jsm')
-rw-r--r--common/modules/overlay.jsm3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/modules/overlay.jsm b/common/modules/overlay.jsm
index 3fa30c6b..6cb81718 100644
--- a/common/modules/overlay.jsm
+++ b/common/modules/overlay.jsm
@@ -153,6 +153,9 @@ var Overlay = Module("Overlay", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReferen
if (!(id in obj && obj[id]))
obj[id] = {};
+ if (arguments.length == 1)
+ return obj[id];
+
if (obj[id][key] === undefined)
if (constructor === undefined || callable(constructor))
obj[id][key] = (constructor || Array)();