From 34a26b3ce987333562ad08bfa671b334d291dd9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Wed, 12 Sep 2007 11:45:03 +0000 Subject: #172782 by ChrisKennedy: fix IE 7 JS alerts by not trying to reuse the height variable --- misc/tableheader.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'misc') diff --git a/misc/tableheader.js b/misc/tableheader.js index 87e98c42b..53706987e 100644 --- a/misc/tableheader.js +++ b/misc/tableheader.js @@ -86,13 +86,13 @@ Drupal.behaviors.tableHeader = function (context) { // Precalculate table heights $('table.sticky-table').each(function () { - this.height = $(this).height(); + this.savedHeight = $(this).height(); }); $(cells).each(function () { // Get position. this.stickyPosition = Drupal.absolutePosition(this.cell).y; - this.stickyMax = this.table.height; + this.stickyMax = this.table.savedHeight; // Reflow the cell. var ref = this.cell; -- cgit v1.2.3