summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
Diffstat (limited to 'legacy')
-rw-r--r--legacy/BootstrapLoader.jsm4
1 files changed, 2 insertions, 2 deletions
diff --git a/legacy/BootstrapLoader.jsm b/legacy/BootstrapLoader.jsm
index d2a4598..cd7b64c 100644
--- a/legacy/BootstrapLoader.jsm
+++ b/legacy/BootstrapLoader.jsm
@@ -318,8 +318,8 @@ var BootstrapLoader = {
}
function findMethod(name) {
- if (sandbox.name) {
- return sandbox.name;
+ if (sandbox[name]) {
+ return sandbox[name];
}
try {