summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2008-01-15 10:43:00 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2008-01-15 10:43:00 +0000
commitd2a9e857d94a2ca4ae5c9a91d2f11eaa37306f40 (patch)
treea77df3611e81eb8b94b09fe4155ed56cc7c4ddba /misc
parented41a4efec630f675bdfc00f76e8be33c4a765d3 (diff)
downloadbrdo-d2a9e857d94a2ca4ae5c9a91d2f11eaa37306f40.tar.gz
brdo-d2a9e857d94a2ca4ae5c9a91d2f11eaa37306f40.tar.bz2
#208991 by JirkaRybka: target sticky table headers to Drupal output tables only, so it won't sticky random tables in other site content
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',