diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-09-12 11:45:03 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-09-12 11:45:03 +0000 |
commit | 34a26b3ce987333562ad08bfa671b334d291dd9a (patch) | |
tree | 64115d3e924bebe8bce81d8c304180f422d6e062 /misc | |
parent | 48d3efdbf8874756d467ab906cfa33044134190d (diff) | |
download | brdo-34a26b3ce987333562ad08bfa671b334d291dd9a.tar.gz brdo-34a26b3ce987333562ad08bfa671b334d291dd9a.tar.bz2 |
#172782 by ChrisKennedy: fix IE 7 JS alerts by not trying to reuse the height variable
Diffstat (limited to 'misc')
-rw-r--r-- | misc/tableheader.js | 4 |
1 files changed, 2 insertions, 2 deletions
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; |