diff --git a/src/notification/bar.js b/src/notification/bar.js index fe9379c970..21c7c58a37 100644 --- a/src/notification/bar.js +++ b/src/notification/bar.js @@ -129,7 +129,7 @@ document.addEventListener('DOMContentLoaded', () => { function sendPlatformMessage(msg) { if (typeof safari !== 'undefined') { - safari.self.tab.dispatchMessage('bitwarden', msg); + safari.extension.dispatchMessage('bitwarden', msg); } else { chrome.runtime.sendMessage(msg); }