remove unnecessary function

This commit is contained in:
Kyle Spearrin 2016-12-05 23:08:50 -05:00
parent 5ca6d59720
commit b6bfa030eb
1 changed files with 2 additions and 4 deletions

View File

@ -74,7 +74,7 @@ angular
if (site && canAutofill && pageDetails && pageDetails.length) { if (site && canAutofill && pageDetails && pageDetails.length) {
for (var i = 0; i < pageDetails.length; i++) { for (var i = 0; i < pageDetails.length; i++) {
if (pageDetails[i].tabId != tabId) { if (pageDetails[i].tabId !== tabId) {
continue; continue;
} }
@ -87,9 +87,7 @@ angular
fillScript: fillScript fillScript: fillScript
}, { }, {
frameId: pageDetails[i].frameId frameId: pageDetails[i].frameId
}, function () { }, $window.close);
$window.close();
});
} }
} }
} }