fix window resizing
This commit is contained in:
parent
7046f894ff
commit
c8ce422b95
1 changed files with 1 additions and 1 deletions
|
@ -1133,7 +1133,7 @@ Zotero.Integration.Session.prototype._displayDialog = function(url, options, io)
|
|||
if(this.doc) this.doc.cleanup();
|
||||
var window = Components.classes["@mozilla.org/embedcomp/window-watcher;1"]
|
||||
.getService(Components.interfaces.nsIWindowWatcher)
|
||||
.openWindow(null, url, '', 'chrome,centerscreen'+(options ? options : ""), (io ? io : null));
|
||||
.openWindow(null, url, '', 'chrome,centerscreen'+(options ? ','+options : ""), (io ? io : null));
|
||||
while(!window.closed) Zotero.mainThread.processNextEvent(true);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue