1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-01-03 18:28:13 +01:00

return promise on safari send message

This commit is contained in:
Kyle Spearrin 2018-01-12 13:25:29 -05:00
parent bb2b750905
commit 347b1d2910

View File

@ -81,7 +81,7 @@ class BrowserApi {
return BrowserApi.tabSendMessage(tab, obj); return BrowserApi.tabSendMessage(tab, obj);
} }
static tabSendMessage(tab: any, obj: any): Promise<any[]> { static tabSendMessage(tab: any, obj: any): Promise<any> {
if (!tab || !tab.id) { if (!tab || !tab.id) {
return; return;
} }
@ -93,7 +93,7 @@ class BrowserApi {
}); });
}); });
} else if (BrowserApi.isSafariApi) { } else if (BrowserApi.isSafariApi) {
// TODO return Promise.resolve(); // TODO
} }
} }