1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 23:33:31 +00:00

get data for tab

This commit is contained in:
Kyle Spearrin
2018-01-13 10:13:31 -05:00
parent 0229ef328a
commit ce4e8a9fae
3 changed files with 19 additions and 6 deletions

View File

@@ -19,7 +19,7 @@ document.addEventListener('DOMContentLoaded', function (event) {
if (isSafariApi) {
const responseCommand = 'notificationBarDataResponse';
safari.self.tab.dispatchMessage('bitwarden', {
command: 'bgGetNotificationBarData',
command: 'bgGetDataForTab',
responseCommand: responseCommand
});
safari.self.addEventListener('message', function (msgEvent) {