summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/tableheader.js4
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;