1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-07 09:31:31 +01:00

add id to app message

This commit is contained in:
Kyle Spearrin 2019-08-20 22:59:19 -04:00
parent d139f9a366
commit 09947b95aa

View File

@ -19,6 +19,7 @@
window.bitwardenApplicationVersion = null; window.bitwardenApplicationVersion = null;
document.addEventListener('DOMContentLoaded', (event) => { document.addEventListener('DOMContentLoaded', (event) => {
window.webkit.messageHandlers.bitwardenApp.postMessage(JSON.stringify({ window.webkit.messageHandlers.bitwardenApp.postMessage(JSON.stringify({
id: '123',
command: 'windowLoaded' command: 'windowLoaded'
})); }));
}); });