mirror of
https://github.com/zotero/zotero.git
synced 2026-08-28 05:25:31 +00:00
Keep progress popups from floating over other apps' windows
The progress popup was opened with alwaysontop, which is system-wide, so a long-running popup (e.g., full-text indexing) stayed on top of other apps' windows after switching away from Zotero. Open it as a dependent window instead, which keeps it above only the Zotero window.
This commit is contained in:
parent
d739fed03e
commit
30b5bf4bb9
1 changed files with 1 additions and 1 deletions
|
|
@ -128,7 +128,7 @@ Zotero.ProgressWindow = function (options = {}) {
|
|||
|
||||
if (_window) {
|
||||
_progressWindow = _window.openDialog("chrome://zotero/content/progressWindow.xhtml",
|
||||
"", "chrome,dialog=no,titlebar=no,alwaysontop=yes");
|
||||
"", "chrome,dialog=no,titlebar=no,dependent=yes");
|
||||
_window.addEventListener('close', () => {
|
||||
this.close();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue