summaryrefslogtreecommitdiff
path: root/common/content/io.js
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2010-12-23 15:43:59 -0500
committerKris Maglione <maglione.k@gmail.com>2010-12-23 15:43:59 -0500
commit5a51f53a7437c5d48247367b6582147f0c296f5f (patch)
tree3e2439db3aa63de039b001991a76920d24614166 /common/content/io.js
parent702b4ff34076b5fb1f953e9057875a759371f827 (diff)
downloadpentadactyl-5a51f53a7437c5d48247367b6582147f0c296f5f.tar.gz
Don't jar up content in the XPI anymore.
Diffstat (limited to 'common/content/io.js')
-rw-r--r--common/content/io.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/content/io.js b/common/content/io.js
index 7b009baa..5cd87618 100644
--- a/common/content/io.js
+++ b/common/content/io.js
@@ -11,7 +11,7 @@
plugins.contexts = {};
function Script(file) {
- let self = plugins[file.path];
+ let self = set.has(plugins, file.path) && plugins[file.path];
if (self) {
if (self.onUnload)
self.onUnload();