-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
I have noticed that Chrome generates the following error if the page contains an input type of "file".
Uncaught InvalidStateError: Failed to read the 'selectionStart' property from 'HTMLInputElement': The input element's type ('file') does not support selection.
I think a simple fix for this is to change the following line:
$(':input').not('[type="reset"]').not('[type="submit"]').on('focus, click', function (e) {
to
$(':input').not('[type="reset"]').not('[type="submit"]').not('[type="file"]').on('focus, click', function (e) {
Mark.
Metadata
Metadata
Assignees
Labels
No labels