Commit cb72f9b3 authored by Phil Hughes's avatar Phil Hughes

CoffeeScript style improv.

parent bfa6064d
...@@ -11,8 +11,9 @@ class @AwardsHandler ...@@ -11,8 +11,9 @@ class @AwardsHandler
if $(".emoji-menu").is(":visible") if $(".emoji-menu").is(":visible")
$(".emoji-menu").hide() $(".emoji-menu").hide()
$(".awards").off "click" $(".awards")
$(".awards").on "click", ".js-emoji-btn", @handleClick .off "click"
.on "click", ".js-emoji-btn", @handleClick
@renderFrequentlyUsedBlock() @renderFrequentlyUsedBlock()
......
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