summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--public/javascripts/attachments.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/public/javascripts/attachments.js b/public/javascripts/attachments.js
index 567b6be81..01cf5cc15 100644
--- a/public/javascripts/attachments.js
+++ b/public/javascripts/attachments.js
@@ -198,8 +198,7 @@ function dragOutHandler(e) {
function setupFileDrop() {
if (window.File && window.FileList && window.ProgressEvent && window.FormData) {
- $.event.fixHooks.dragover = { props: [ 'dataTransfer' ] };
- $.event.fixHooks.drop = { props: [ 'dataTransfer' ] };
+ $.event.addProp('dataTransfer');
$('form div.box:not(.filedroplistner)').has('input:file.filedrop').each(function() {
$(this).on({