mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 07:43:35 +00:00
dispatchMessage fix on bar.js
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user