Skip to content

Commit a59f28f

Browse files
committed
Replace deprecated input:file with input[type=file] selector.
1 parent b6dae4e commit a59f28f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rails.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
requiredInputSelector: 'input[name][required]:not([disabled]),textarea[name][required]:not([disabled])',
8383

8484
// Form file input elements
85-
fileInputSelector: 'input:file',
85+
fileInputSelector: 'input[type=file]',
8686

8787
// Link onClick disable selector with possible reenable after remote submission
8888
linkDisableSelector: 'a[data-disable-with]',

0 commit comments

Comments
 (0)