Skip to content
Snippets Groups Projects
Commit 8da967f0 authored by Jared Hancock's avatar Jared Hancock
Browse files

filedrop: Fix the 'choose them' link

parent 926cac0e
No related branches found
No related tags found
No related merge requests found
......@@ -349,8 +349,8 @@
this.on('drop', drop).on('dragstart', opts.dragStart).on('dragenter', dragEnter).on('dragover', dragOver).on('dragleave', dragLeave);
$(document).on('drop', docDrop).on('dragenter', docEnter).on('dragover', docOver).on('dragleave', docLeave);
(opts.link || this).on('click', function(e){
$('#' + opts.fallback_id).trigger(e);
(opts.link || this).click(function(e) {
$('#' + opts.fallback_id).trigger('click');
return false;
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment