1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 22:33:35 +00:00

Fix js lint issues with background.js

This commit is contained in:
Kyle Spearrin
2016-11-25 23:53:46 -05:00
parent 2e9d880259
commit 2e1fbcf003
2 changed files with 2 additions and 2 deletions

View File

@@ -352,11 +352,10 @@ function autofillPage() {
return;
}
var fillScript = null;
if (siteToAutoFill && pageDetailsToAutoFill && pageDetailsToAutoFill.length) {
for (var i = 0; i < pageDetailsToAutoFill.length; i++) {
// make sure we're still on correct tab
if (pageDetailsToAutoFill[i].tabId != tabId) {
if (pageDetailsToAutoFill[i].tabId !== tabId) {
continue;
}