- fix preference links
- fix tab mode tooltip - zotero://fullscreen opens standalone
This commit is contained in:
parent
701845fa0a
commit
3fd0523b6e
6 changed files with 9 additions and 8 deletions
|
@ -880,10 +880,10 @@ function ChromeExtensionHandler() {
|
|||
.wrappedJSObject;
|
||||
|
||||
generateContent: try {
|
||||
var win = Components.classes["@mozilla.org/appshell/window-mediator;1"]
|
||||
.getService(Components.interfaces.nsIWindowMediator)
|
||||
.getMostRecentWindow("navigator:browser");
|
||||
win.ZoteroOverlay.toggleTab(true);
|
||||
var window = Components.classes["@mozilla.org/embedcomp/window-watcher;1"]
|
||||
.getService(Components.interfaces.nsIWindowWatcher)
|
||||
.openWindow(null, 'chrome://zotero/content/standalone.xul', '',
|
||||
'chrome,centerscreen,resizable', null);
|
||||
}
|
||||
catch (e) {
|
||||
Zotero.debug(e);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue