From e509545dfa1f6fc5c8b8e1c8dcee00d85ea1f7a5 Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Wed, 24 Sep 2014 15:18:54 +0200 Subject: [PATCH] overview: increase checkbox clickable-area --- .../app/controllers/_application_controller_table.js.coffee | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/assets/javascripts/app/controllers/_application_controller_table.js.coffee b/app/assets/javascripts/app/controllers/_application_controller_table.js.coffee index 295ac7565..5f7b632d9 100644 --- a/app/assets/javascripts/app/controllers/_application_controller_table.js.coffee +++ b/app/assets/javascripts/app/controllers/_application_controller_table.js.coffee @@ -248,10 +248,9 @@ class App.ControllerTable extends App.Controller # enable checkbox bulk selection if data.checkbox - # click first tr>td, click checkbox / improve usability + # click first tr>td, catch click table.delegate('tr > td:nth-child(1)', event, (e) -> e.stopPropagation() - $(e.target).find('[name="bulk"]').click() ) # bind on full bulk click