1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-28 17:27:50 +01:00

fix safari open tab

This commit is contained in:
Kyle Spearrin 2018-01-12 21:26:49 -05:00
parent ede38dd07c
commit ba4a2e6572

View File

@ -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;
}