1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-22 11:45:59 +01:00

remove unnecessary function

This commit is contained in:
Kyle Spearrin 2016-12-05 23:08:50 -05:00
parent 5ca6d59720
commit b6bfa030eb

View File

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