mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-07 09:31:31 +01:00
dispatchMessage fix on bar.js
This commit is contained in:
parent
e480fd78b2
commit
419445cf62
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user