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:
parent
91ce6527c0
commit
033d02d3ec
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user