app/assets/javascripts/chatroom/messages.js.coffee in chatroom-0.1.0 vs app/assets/javascripts/chatroom/messages.js.coffee in chatroom-0.1.1
- old
+ new
@@ -61,9 +61,10 @@
img.click(Messages.selectEmotion)
cell = $("<td></td>").addClass("chat-cell").append(img)
row.append(cell)
table.append(row)
table.append(page)
+ $("span.emotions-page").off("click")
Messages.emotionsPageTurning()
false
emotionsPageTurning: () ->
$("span.emotions-page").click ->