mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Case insensitive check
This commit is contained in:
parent
9bd3aff004
commit
bce39dd47d
1 changed files with 2 additions and 1 deletions
|
|
@ -67,7 +67,8 @@ kpxcForm.getFormSubmitButton = function(form) {
|
|||
}
|
||||
|
||||
const hasPasswordClassOrId = (button) => button
|
||||
&& (button?.classList.value?.includes('password') || button?.id?.includes('password'));
|
||||
&& (button?.classList.value?.toLowerCase()?.includes('password')
|
||||
|| button?.id?.toLowerCase()?.includes('password'));
|
||||
const action = kpxc.submitUrl || form.action;
|
||||
|
||||
// Check if the site needs a special handling for retrieving the form submit button
|
||||
|
|
|
|||
Loading…
Reference in a new issue