diff --git a/chrome/content/zotero/preferences/preferences.js b/chrome/content/zotero/preferences/preferences.js index 889b214b50..a81b217887 100644 --- a/chrome/content/zotero/preferences/preferences.js +++ b/chrome/content/zotero/preferences/preferences.js @@ -95,9 +95,9 @@ var Zotero_Preferences = { let event = new Event('unload'); child.dispatchEvent(event); } - if (pane.sandbox) { - Cu.nukeSandbox(pane.sandbox); - pane.sandbox = null; + if (pane.scope) { + Cu.nukeSandbox(pane.scope); + pane.scope = null; } } },