fix: workspace window open should not in dialog mode

fix: #1015
This commit is contained in:
windingwind 2024-07-12 08:53:43 +08:00
parent 671f76b759
commit 33b794a0be

View File

@ -10,7 +10,7 @@ export async function openWorkspaceWindow(
const win = Zotero.getMainWindow().openDialog(
`chrome://${config.addonRef}/content/workspaceWindow.xhtml`,
`${config.addonRef}-workspaceWindow`,
`chrome,centerscreen,resizable,status`,
`chrome,centerscreen,resizable,status,dialog=no`,
windowArgs,
)!;
await windowArgs._initPromise.promise;