diff --git a/app/assets/javascripts/markdown_area.js.coffee b/app/assets/javascripts/markdown_area.js.coffee index 516a40b25c2921f4aef2a9264555b4ea89491e89..1449735fae9618c37af03e195f2d8fbd1ff865b5 100644 --- a/app/assets/javascripts/markdown_area.js.coffee +++ b/app/assets/javascripts/markdown_area.js.coffee @@ -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