summaryrefslogtreecommitdiff
path: root/misc/tableheader.js
diff options
context:
space:
mode:
Diffstat (limited to 'misc/tableheader.js')
-rw-r--r--misc/tableheader.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/tableheader.js b/misc/tableheader.js
index ba076830d..0568e56a9 100644
--- a/misc/tableheader.js
+++ b/misc/tableheader.js
@@ -89,7 +89,7 @@ Drupal.behaviors.tableHeader = function (context) {
this.savedHeight = $(this).height();
});
- $(cells).each(function () {
+ $('table.sticky-table div.sticky-header').each(function () {
// Get position.
this.stickyPosition = $(this.cell).offset().top;
this.stickyMax = this.table.savedHeight;