app/assets/javascripts/remetric/app.js.coffee in remetric-0.0.8 vs app/assets/javascripts/remetric/app.js.coffee in remetric-0.0.9

- old
+ new

@@ -4,12 +4,13 @@ $("#loading").show() @Remetric.load = -> $(window).resize() - $(".table").on "click", "td", -> - checkbox = $(this).find("input[type='checkbox']") - checkbox.prop "checked", !checkbox.prop("checked") + $(".table").on "click", "td", (e) -> + unless $(e.target).is("input[type='checkbox']") + checkbox = $(this).find("input[type='checkbox']") + checkbox.prop "checked", !checkbox.prop("checked") $ -> Remetric.dialog.events() Remetric.messages.events() Remetric.search.events() \ No newline at end of file