mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Add check to page tab ID
This commit is contained in:
parent
8fd7bbe348
commit
b84e5b6611
1 changed files with 4 additions and 0 deletions
|
|
@ -105,6 +105,10 @@ page.clearCredentials = function(tabId, complete) {
|
|||
};
|
||||
|
||||
page.clearLogins = function(tabId) {
|
||||
if (!page.tabs[tabId]) {
|
||||
return;
|
||||
}
|
||||
|
||||
page.tabs[tabId].loginList = [];
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue