Skip to content

Commit 055a012

Browse files
authored
Merge pull request #89 from sherlockode/fix/remove-js-on-click-dropzone
Remove js on click on dropzone
2 parents 0826983 + 4274106 commit 055a012

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Resources/public/js/ajax-uploader.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -273,12 +273,6 @@ let $ = jQuery;
273273
return deletePreview(element, true);
274274
});
275275
});
276-
277-
container.on('click', '.afb_dropzone', function(e) {
278-
if (e.currentTarget === e.target || $(e.target).hasClass('afb_upload_container') || $(e.target).hasClass('afb_dropzone-title')) {
279-
$(this).find('.afb_file_input').click();
280-
}
281-
});
282276
});
283277
};
284278
})();

0 commit comments

Comments
 (0)