summaryrefslogtreecommitdiff
path: root/modules/taxonomy
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2012-02-14 13:46:20 -0500
committerwebchick <webchick@24967.no-reply.drupal.org>2012-02-14 13:46:20 -0500
commit476843c25e4da2ac1c6c375b2ee6e2c0f97275ff (patch)
treee6f669d2c3bf52ec814276050db4ffcb45b32d50 /modules/taxonomy
parent5251e90c982b867d4bc25386b30f098f365cd52c (diff)
downloadbrdo-476843c25e4da2ac1c6c375b2ee6e2c0f97275ff.tar.gz
brdo-476843c25e4da2ac1c6c375b2ee6e2c0f97275ff.tar.bz2
Issue #1346914 by droplet: Use .length instead of jQuery.size().
Diffstat (limited to 'modules/taxonomy')
-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) {