mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Merge pull request #182 from keepassxreboot/page_tab_id_check
Add check to page tab ID
This commit is contained in:
commit
531328d6b3
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