1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-22 11:45:59 +01:00

Linter Issues / JSLib Update

This commit is contained in:
Matt Smith 2020-08-25 10:19:39 -05:00
parent 91ce6527c0
commit 033d02d3ec

View File

@ -1,8 +1,8 @@
window.addEventListener("message", function(event) {
if (event.source != window)
window.addEventListener('message', (event) => {
if (event.source !== window)
return;
if (event.data.command && (event.data.command == "authResult")) {
if (event.data.command && (event.data.command === 'authResult')) {
chrome.runtime.sendMessage({
command: event.data.command,
code: event.data.code,