mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-29 12:55:21 +01:00
Linter Issues / JSLib Update
This commit is contained in:
parent
91ce6527c0
commit
033d02d3ec
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user