summaryrefslogtreecommitdiffstats
path: root/data/js
diff options
context:
space:
mode:
Diffstat (limited to 'data/js')
-rw-r--r--data/js/script.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/js/script.js b/data/js/script.js
index 5faad3899..4df973296 100644
--- a/data/js/script.js
+++ b/data/js/script.js
@@ -84,7 +84,7 @@ function fixedEncodeURIComponent (str) {
}
}
- document.getElementById('file').addEventListener('change', checkFileUpload, false);
+ $('#file').bind('change', checkFileUpload);
}
});