summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--filefield.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/filefield.js b/filefield.js
index 99f45b2..08cbfea 100644
--- a/filefield.js
+++ b/filefield.js
@@ -4,7 +4,7 @@
* Auto Attach standard client side file input validation
*/
Drupal.filefieldValidateAutoAttach = function() {
- $("input[@type='file'][accept]", context).change( function() {
+ $("input[@type='file']").change( function() {
// Remove any previous errors.
$('.file-upload-js-error').remove();