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/block/block.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/block') diff --git a/modules/block/block.js b/modules/block/block.js index ce4995dca..e36737441 100644 --- a/modules/block/block.js +++ b/modules/block/block.js @@ -153,7 +153,7 @@ Drupal.behaviors.blockDrag = { } } // This region has become empty. - if ($(this).next('tr').is(':not(.draggable)') || $(this).next('tr').size() == 0) { + if ($(this).next('tr').is(':not(.draggable)') || $(this).next('tr').length == 0) { $(this).removeClass('region-populated').addClass('region-empty'); } // This region has become populated. -- cgit v1.2.3