mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Merge pull request #1320 from keepassxreboot/fix/custom_fields_check
Fix Custom Fields check
This commit is contained in:
commit
f8e26f98a1
1 changed files with 1 additions and 1 deletions
|
|
@ -567,7 +567,7 @@ kpxcFields.isAutocompleteAppropriate = function(field) {
|
|||
// Checks if Custom Login Fields are used for the site
|
||||
kpxcFields.isCustomLoginFieldsUsed = function() {
|
||||
const location = kpxc.getDocumentLocation();
|
||||
return kpxc.settings['defined-custom-fields'] && kpxc.settings['defined-custom-fields'][location];
|
||||
return kpxc.settings['defined-custom-fields'] !== undefined && kpxc.settings['defined-custom-fields'][location] !== undefined;
|
||||
};
|
||||
|
||||
// Returns true if form is a search form
|
||||
|
|
|
|||
Loading…
Reference in a new issue