Skip to content

Instantly share code, notes, and snippets.

@justinvdm
Created August 4, 2013 09:07
Show Gist options
  • Save justinvdm/6149799 to your computer and use it in GitHub Desktop.
Save justinvdm/6149799 to your computer and use it in GitHub Desktop.
diff --git a/go/base/static/js/src/components/tables.js b/go/base/static/js/src/components/tables.js
index 5d3c698..8bad50b 100644
--- a/go/base/static/js/src/components/tables.js
+++ b/go/base/static/js/src/components/tables.js
@@ -91,6 +91,9 @@
this.refreshButtons();
},
+ // the `td` that houses the checkbox is clickable, this make the
+ // checkbox easier to click because it increases the target
+ // area.
'click td:first-child': function(e) {
$(e.target).find('input')
.prop('checked', true)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment