diff options
Diffstat (limited to 'misc/tableselect.js')
-rw-r--r-- | misc/tableselect.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/misc/tableselect.js b/misc/tableselect.js index 36a209f3c..152e93fb4 100644 --- a/misc/tableselect.js +++ b/misc/tableselect.js @@ -1,4 +1,5 @@ // $Id$ +(function($) { Drupal.behaviors.tableSelect = { attach: function(context) { @@ -82,8 +83,10 @@ Drupal.tableSelectRange = function(from, to, state) { } } // A faster alternative to doing $(i).filter(to).length. - else if (jQuery.filter(to, [i]).r.length) { + else if ($.filter(to, [i]).r.length) { break; } } }; + +})(jQuery); |