mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Merge pull request #207 from keepassxreboot/match_site_fix
Fix undefined check
This commit is contained in:
commit
e1c219a731
1 changed files with 5 additions and 3 deletions
|
|
@ -206,9 +206,11 @@ browserAction.setRememberPopup = function(tabId, username, password, url, userna
|
|||
const settings = item.settings;
|
||||
|
||||
// Don't show anything if the site is in the ignore list
|
||||
for (const site of settings.ignoredSites) {
|
||||
if (siteMatch(site.url, url)) {
|
||||
return;
|
||||
if (settings.ignoredSites !== undefined) {
|
||||
for (const site of settings.ignoredSites) {
|
||||
if (siteMatch(site.url, url)) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue