mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-08 19:18:02 +01:00
msg
This commit is contained in:
parent
737bf0882f
commit
838667c381
@ -990,7 +990,7 @@
|
|||||||
window.__bitwardenFrameId = Math.floor(Math.random() * Math.floor(99999999));
|
window.__bitwardenFrameId = Math.floor(Math.random() * Math.floor(99999999));
|
||||||
}
|
}
|
||||||
safari.self.addEventListener('message', function (msgEvent) {
|
safari.self.addEventListener('message', function (msgEvent) {
|
||||||
var msg = JSON.parse(msgEvent.message);
|
var msg = JSON.parse(msgEvent.message.msg);
|
||||||
if (msg.bitwardenFrameId != null && window.__bitwardenFrameId !== msg.bitwardenFrameId) {
|
if (msg.bitwardenFrameId != null && window.__bitwardenFrameId !== msg.bitwardenFrameId) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user