Skip to content

Commit

Permalink
Merge pull request #16 from devantoine/patch-1
Browse files Browse the repository at this point in the history
Cloning the bound events
  • Loading branch information
oma committed Apr 22, 2014
2 parents ed24cdb + 6e7a6f8 commit 1f922ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion table-fixed-header.js
Expand Up @@ -38,7 +38,7 @@ $.fn.fixedHeader = function (options) {
if (!isFixed) setTimeout(function () { $win.scrollTop($win.scrollTop() - 47) }, 10);
})

$head.clone().removeClass('header').addClass('header-copy header-fixed').css({'position': 'fixed', 'top': config['topOffset']}).appendTo(o);
$head.clone(true).removeClass('header').addClass('header-copy header-fixed').css({'position': 'fixed', 'top': config['topOffset']}).appendTo(o);
o.find('thead.header-copy').width($head.width());

o.find('thead.header > tr > th').each(function (i, h) {
Expand Down

0 comments on commit 1f922ac

Please sign in to comment.