Permalink
Browse files

When destroy the stickyTable while table header is sticky, change the…

… position back to static.
  • Loading branch information...
1 parent f673b71 commit 3d8aec980797f46b123f8cb20c8bad7d0799f728 @coderkk committed Jul 16, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 js/jquery.stickytableheaders.js
@@ -70,6 +70,7 @@
};
base.teardown = function(){
+ if (base.isSticky) base.$originalHeader.css('position', 'static');
$.removeData(base.el, 'plugin_' + name);
base.unbind();

0 comments on commit 3d8aec9

Please sign in to comment.