Skip to content

Commit

Permalink
Merge pull request #76 from weekens/master
Browse files Browse the repository at this point in the history
Fixed DOM leakage in destroy (#75).
  • Loading branch information
mkoryak committed Apr 7, 2014
2 parents 259ffec + 3e95625 commit 9212828
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jquery.floatThead.js
Original file line number Diff line number Diff line change
Expand Up @@ -641,6 +641,9 @@
$table.unbind('reflow');
reflowEvent = windowResizeEvent = containerScrollEvent = windowScrollEvent = function() {};
$scrollContainer.unbind('scroll.floatTHead');
if (wrappedContainer) {
$scrollContainer.unwrap();
}
$floatContainer.remove();
$table.data('floatThead-attached', false);
floatTheadCreated--;
Expand Down

0 comments on commit 9212828

Please sign in to comment.