mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 15:23:33 +00:00
Linter Issues / JSLib Update
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user