restore correct handling of openEditInWindow
regressed in fdbfb235
fixes #1156
This commit is contained in:
parent
a66a1f8ed6
commit
a88996be6f
|
@ -59,7 +59,7 @@ addAPI(/** @namespace API */ {
|
|||
const tab = await openURL({
|
||||
url: `${u}`,
|
||||
currentWindow: null,
|
||||
newWindow: Object.assign(wndBase, !ffBug && wndPos),
|
||||
newWindow: wnd && Object.assign(wndBase, !ffBug && wndPos),
|
||||
});
|
||||
if (ffBug) await browser.windows.update(tab.windowId, wndPos);
|
||||
return tab;
|
||||
|
|
Loading…
Reference in New Issue
Block a user