mirror of
https://github.com/bitwarden/browser
synced 2025-12-06 00:13:28 +00:00
fix safari open tab
This commit is contained in:
@@ -143,7 +143,7 @@ class BrowserApi {
|
|||||||
if (extensionPage && url.indexOf('/') === 0) {
|
if (extensionPage && url.indexOf('/') === 0) {
|
||||||
url = BrowserApi.getAssetUrl(url);
|
url = BrowserApi.getAssetUrl(url);
|
||||||
}
|
}
|
||||||
const tab = safari.application.activeBrowserWindow.browserWindow.openTab();
|
const tab = safari.application.activeBrowserWindow.openTab();
|
||||||
if (tab) {
|
if (tab) {
|
||||||
tab.url = url;
|
tab.url = url;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user