summaryrefslogtreecommitdiff
path: root/common/modules/contexts.jsm
diff options
context:
space:
mode:
Diffstat (limited to 'common/modules/contexts.jsm')
-rw-r--r--common/modules/contexts.jsm2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/modules/contexts.jsm b/common/modules/contexts.jsm
index 1dafd148..97700acf 100644
--- a/common/modules/contexts.jsm
+++ b/common/modules/contexts.jsm
@@ -270,7 +270,7 @@ var Contexts = Module("contexts", {
activeGroups: function (uri, doc) {
if (!uri)
({ uri, doc }) = this.modules.buffer;
- return this.initializedGroups().filter(function (g) g.filter(uri, doc));
+ return this.initializedGroups().filter(function (g) uri && g.filter(uri, doc));
},
flush: function flush() {