diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-10-02 07:09:51 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-10-02 07:09:51 +0000 |
commit | 8e027a8b58ceedd9c58e3ad96ab70274e44d57c0 (patch) | |
tree | 92752ca21b9defce9327dfde9641981eff968fe1 /misc | |
parent | 55cc439990e27c75cc233a65dd23b363cabe66b4 (diff) | |
download | brdo-8e027a8b58ceedd9c58e3ad96ab70274e44d57c0.tar.gz brdo-8e027a8b58ceedd9c58e3ad96ab70274e44d57c0.tar.bz2 |
- Patch #179937 by quicksketch: made the table header magic more robust. When a table disappears from the HTML, an error would otherwise be thrown.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/tableheader.js | 2 |
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; |