summaryrefslogtreecommitdiff
path: root/misc/tableselect.js
diff options
context:
space:
mode:
Diffstat (limited to 'misc/tableselect.js')
-rw-r--r--misc/tableselect.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/tableselect.js b/misc/tableselect.js
index 1abda24d9..8cf7f3622 100644
--- a/misc/tableselect.js
+++ b/misc/tableselect.js
@@ -8,7 +8,7 @@ Drupal.behaviors.tableSelect = {
Drupal.tableSelect = function () {
// Do not add a "Select all" checkbox if there are no rows with checkboxes in the table
- if ($('td input:checkbox', this).size() == 0) {
+ if ($('td input:checkbox', this).length == 0) {
return;
}