mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 23:37:33 +09:00
try to fix ubO again
This commit is contained in:
parent
a69e982b98
commit
1b90447aa4
1 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,8 @@ global.openOptionsPage = (extension) => {
|
|||
}
|
||||
|
||||
if (extension.manifest.options_ui.open_in_tab) {
|
||||
window.switchToTabHavingURI(extension.manifest.options_ui.page, true);
|
||||
let optionsURL = extension.baseURI.resolve(extension.manifest.options_ui.page);
|
||||
window.switchToTabHavingURI(optionsURL, true);
|
||||
return Promise.resolve();
|
||||
}
|
||||
|
||||
|
|
@ -23,4 +24,3 @@ global.openOptionsPage = (extension) => {
|
|||
|
||||
return window.BrowserOpenAddonsMgr(viewId);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue