Commit 824821b4 authored by GitLab's avatar GitLab

Fixing an issue where pages with multiple dropzones can trigger multiple file...

Fixing an issue where pages with multiple dropzones can trigger multiple file upload dialogs under certain conditions.
parent 9879c427
......@@ -179,7 +179,7 @@ $(document).ready ->
$(".markdown-selector").click (e) ->
e.preventDefault()
$(".div-dropzone").click()
$(@).closest(".div-dropzone-wrapper").find(".div-dropzone").click()
return
return
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment