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:
parent
5ca6d59720
commit
b6bfa030eb
@ -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();
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user