summaryrefslogtreecommitdiff
path: root/misc/tableheader.js
diff options
context:
space:
mode:
Diffstat (limited to 'misc/tableheader.js')
-rw-r--r--misc/tableheader.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/misc/tableheader.js b/misc/tableheader.js
index dbb8873ea..1c8c9bf1c 100644
--- a/misc/tableheader.js
+++ b/misc/tableheader.js
@@ -1,4 +1,5 @@
// $Id$
+(function($) {
Drupal.tableHeaderDoScroll = function() {
if (typeof(Drupal.tableHeaderOnScroll)=='function') {
@@ -9,7 +10,7 @@ Drupal.tableHeaderDoScroll = function() {
Drupal.behaviors.tableHeader = {
attach: function(context) {
// This breaks in anything less than IE 7. Prevent it from running.
- if (jQuery.browser.msie && parseInt(jQuery.browser.version, 10) < 7) {
+ if ($.browser.msie && parseInt($.browser.version, 10) < 7) {
return;
}
@@ -113,3 +114,5 @@ Drupal.behaviors.tableHeader = {
$(window).resize(resize);
}
};
+
+})(jQuery);