Fix "Open Account Settings" button in quota dialog in Standalone
(Untested, but this should work.)
This commit is contained in:
parent
71bd1a7f99
commit
497939bb28
1 changed files with 1 additions and 2 deletions
|
@ -310,8 +310,7 @@ Zotero.Sync.Storage.ZFS = (function () {
|
|||
var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"]
|
||||
.getService(Components.interfaces.nsIWindowMediator);
|
||||
var win = wm.getMostRecentWindow("navigator:browser");
|
||||
var browser = win.getBrowser();
|
||||
browser.selectedTab = browser.addTab(url);
|
||||
win.ZoteroPane.loadURI(url);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue