mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Check for undefined instead of null to fix regression introduced by f9abcb888
This commit is contained in:
parent
a38c77fc80
commit
0f1b62d92e
1 changed files with 1 additions and 1 deletions
|
|
@ -2023,7 +2023,7 @@ cip.ignoreSite = function(sites) {
|
|||
|
||||
// Delete previously created Object if it exists. It will be replaced by an Array
|
||||
cip.initializeIgnoredSites = function() {
|
||||
if (cip.settings['ignoredSites'] !== null && cip.settings['ignoredSites'].constructor === Object) {
|
||||
if (cip.settings['ignoredSites'] !== undefined && cip.settings['ignoredSites'].constructor === Object) {
|
||||
delete cip.settings['ignoredSites'];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue