Merge pull request #199 from keepassxreboot/hotfix/ignored-sites-fix

Fix #196 regression: input field detection broken
This commit is contained in:
Janek Bevendorff 2018-06-13 07:45:22 +02:00 committed by GitHub
commit ada65945b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'];
}