mirror of
https://github.com/bitwarden/desktop.git
synced 2024-11-08 09:32:07 +01:00
remove unnecessary function
This commit is contained in:
parent
5ca6d59720
commit
b6bfa030eb
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user