Fixes issue where firefox does not delete message after comment submit
Issue was **not** in the way comment was being submitted. `app/assets/javascripts/awards_handler.coffee` was throwing an error. This error was preventing any js from running after it. Fixes #1473
This commit is contained in:
parent
d04eadf822
commit
604a811f80
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ class @AwardsHandler
|
|||
event.preventDefault()
|
||||
$(".emoji-menu").show()
|
||||
|
||||
$("html").click ->
|
||||
$("html").on 'click', (event) ->
|
||||
if !$(event.target).closest(".emoji-menu").length
|
||||
if $(".emoji-menu").is(":visible")
|
||||
$(".emoji-menu").hide()
|
||||
|
|
Loading…
Reference in a new issue