mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 07:43:35 +00:00
process safari tab on app messages
This commit is contained in:
@@ -9,7 +9,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
responseCommand: responseCommand
|
||||
});
|
||||
safari.self.addEventListener('message', (msgEvent) => {
|
||||
const msg = msgEvent.message;
|
||||
const msg = JSON.parse(msgEvent.message.msg);
|
||||
if (msg.command === responseCommand && msg.data) {
|
||||
i18n = msg.data.i18n;
|
||||
load();
|
||||
|
||||
Reference in New Issue
Block a user