mirror of
https://github.com/zotero/zotero.git
synced 2026-09-28 01:31:40 +00:00
fx128: Remove uses of nsIDOMChromeWindow
https://bugzilla.mozilla.org/show_bug.cgi?id=1522052
This commit is contained in:
parent
9606fca3ad
commit
45e681431b
2 changed files with 2 additions and 2 deletions
|
|
@ -82,7 +82,7 @@
|
|||
|
||||
// otherwise, fall back to opening the anchor directly
|
||||
var win = window;
|
||||
if (window instanceof Components.interfaces.nsIDOMChromeWindow) {
|
||||
if (win.isChromeWindow) {
|
||||
while (win.opener && !win.opener.closed)
|
||||
win = win.opener;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3020,7 +3020,7 @@ var ZoteroPane = new function()
|
|||
}
|
||||
|
||||
// Restore window if it's in the dock
|
||||
if (window.windowState == Components.interfaces.nsIDOMChromeWindow.STATE_MINIMIZED) {
|
||||
if (window.windowState == window.STATE_MINIMIZED) {
|
||||
window.restore();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue