summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/tableheader.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/tableheader.js b/misc/tableheader.js
index 3143e14fc..33110873e 100644
--- a/misc/tableheader.js
+++ b/misc/tableheader.js
@@ -9,7 +9,7 @@ Drupal.behaviors.tableHeader = function (context) {
// Keep track of all cloned table headers.
var headers = [];
- $('table thead:not(.tableHeader-processed)', context).each(function () {
+ $('table.sticky-enabled thead:not(.tableHeader-processed)', context).each(function () {
// Clone thead so it inherits original jQuery properties.
var headerClone = $(this).clone(true).insertBefore(this.parentNode).wrap('<table class="sticky-header"></table>').parent().css({
position: 'fixed',