Merge pull request #182 from keepassxreboot/page_tab_id_check

Add check to page tab ID
This commit is contained in:
Janek Bevendorff 2018-06-08 13:36:59 +02:00 committed by GitHub
commit 531328d6b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -105,6 +105,10 @@ page.clearCredentials = function(tabId, complete) {
};
page.clearLogins = function(tabId) {
if (!page.tabs[tabId]) {
return;
}
page.tabs[tabId].loginList = [];
};