You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 19, 2019. It is now read-only.
Prevent autocomplete when clicking a non-focusable input (#68)
This is to prevent autocomplete from happening when clicking a disabled input
field.
The `ownerDocument` check is paranoid since I couldn't find any documentation
as to when support was added to WebKit/Blink. It's in the DOM level 2 spec, so
support should be widespread.
The alternative to this fix is to explicitly check `input.disabled`.
http://quirksmode.org/dom/core/#t136https://developer.mozilla.org/en-US/docs/Web/API/Node/ownerDocument
0 commit comments