diff --git a/chrome/content/zotero/overlay.js b/chrome/content/zotero/overlay.js index 4ec88313d6..0f7c8312fd 100644 --- a/chrome/content/zotero/overlay.js +++ b/chrome/content/zotero/overlay.js @@ -139,7 +139,10 @@ var ZoteroOverlay = new function() // Used for loading pages from upgrade wizard if (Zotero && Zotero.initialURL) { - setTimeout("gBrowser.selectedTab = gBrowser.addTab(Zotero.initialURL); Zotero.initialURL = null;", 1); + setTimeout(function () { + gBrowser.selectedTab = gBrowser.addTab(Zotero.initialURL); + Zotero.initialURL = null; + }, 1); } // Hide browser chrome on Zotero tab diff --git a/chrome/content/zotero/preferences/preferences.xul b/chrome/content/zotero/preferences/preferences.xul index 3161e833bd..a29c2b9951 100644 --- a/chrome/content/zotero/preferences/preferences.xul +++ b/chrome/content/zotero/preferences/preferences.xul @@ -277,7 +277,7 @@ To add a new preference: @@ -286,7 +286,7 @@ To add a new preference: