diff --git a/chrome/content/zotero/preferences/preferences.js b/chrome/content/zotero/preferences/preferences.js index 9a5e95be28..2eb9fa29a8 100644 --- a/chrome/content/zotero/preferences/preferences.js +++ b/chrome/content/zotero/preferences/preferences.js @@ -124,22 +124,6 @@ var Zotero_Preferences = { } }, - /** - * Opens a URI in the basic viewer - */ - openInViewer: function (uri) { - var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"] - .getService(Components.interfaces.nsIWindowMediator); - var win = wm.getMostRecentWindow("zotero:basicViewer"); - if (win) { - win.loadURI(uri); - } - else { - window.openDialog("chrome://zotero/content/standalone/basicViewer.xhtml", - "basicViewer", "chrome,resizable,centerscreen,menubar,scrollbars", uri); - } - }, - _onNavigationSelect() { for (let child of this.content.children) { if (child !== this.helpContainer) { diff --git a/chrome/content/zotero/preferences/preferences_advanced.xhtml b/chrome/content/zotero/preferences/preferences_advanced.xhtml index 7c48815986..e54779b4df 100644 --- a/chrome/content/zotero/preferences/preferences_advanced.xhtml +++ b/chrome/content/zotero/preferences/preferences_advanced.xhtml @@ -253,10 +253,10 @@