add id to app message

This commit is contained in:
Kyle Spearrin 2019-08-20 22:59:19 -04:00
parent d139f9a366
commit 09947b95aa
1 changed files with 1 additions and 0 deletions

View File

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