summaryrefslogtreecommitdiff
path: root/modules/taxonomy/taxonomy.js
diff options
context:
space:
mode:
Diffstat (limited to 'modules/taxonomy/taxonomy.js')
-rw-r--r--modules/taxonomy/taxonomy.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/taxonomy/taxonomy.js b/modules/taxonomy/taxonomy.js
index cc9cdf7a6..1a0c7908a 100644
--- a/modules/taxonomy/taxonomy.js
+++ b/modules/taxonomy/taxonomy.js
@@ -10,7 +10,7 @@ Drupal.behaviors.termDrag = {
attach: function (context, settings) {
var table = $('#taxonomy', context);
var tableDrag = Drupal.tableDrag.taxonomy; // Get the blocks tableDrag object.
- var rows = $('tr', table).size();
+ var rows = $('tr', table).length;
// When a row is swapped, keep previous and next page classes set.
tableDrag.row.prototype.onSwap = function (swappedRow) {