From 476843c25e4da2ac1c6c375b2ee6e2c0f97275ff Mon Sep 17 00:00:00 2001 From: webchick Date: Tue, 14 Feb 2012 13:46:20 -0500 Subject: Issue #1346914 by droplet: Use .length instead of jQuery.size(). --- modules/taxonomy/taxonomy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/taxonomy') 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) { -- cgit v1.2.3