summaryrefslogtreecommitdiff
path: root/modules/block/block.js
diff options
context:
space:
mode:
Diffstat (limited to 'modules/block/block.js')
-rw-r--r--modules/block/block.js2
1 files changed, 1 insertions, 1 deletions
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.