mirror of
https://github.com/bitwarden/clients.git
synced 2026-07-07 21:10:55 +08:00
fix safari open tab
This commit is contained in:
parent
ede38dd07c
commit
ba4a2e6572
@ -143,7 +143,7 @@ class BrowserApi {
|
||||
if (extensionPage && url.indexOf('/') === 0) {
|
||||
url = BrowserApi.getAssetUrl(url);
|
||||
}
|
||||
const tab = safari.application.activeBrowserWindow.browserWindow.openTab();
|
||||
const tab = safari.application.activeBrowserWindow.openTab();
|
||||
if (tab) {
|
||||
tab.url = url;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user