1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-26 12:25:20 +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) { window.addEventListener('message', (event) => {
if (event.source != window) if (event.source !== window)
return; return;
if (event.data.command && (event.data.command == "authResult")) { if (event.data.command && (event.data.command === 'authResult')) {
chrome.runtime.sendMessage({ chrome.runtime.sendMessage({
command: event.data.command, command: event.data.command,
code: event.data.code, code: event.data.code,