1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-15 02:18:42 +02:00

dispatchMessage fix on bar.js

This commit is contained in:
Kyle Spearrin 2019-08-27 08:03:55 -04:00
parent e480fd78b2
commit 419445cf62

View File

@ -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);
}