Skip to content

Commit

Permalink
Fix horizontal scrolling
Browse files Browse the repository at this point in the history
  • Loading branch information
simon04 committed Mar 31, 2016
1 parent 3980311 commit a82d959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/jquery.stickytableheaders.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
(offset.top + $this.height() - headerHeight - (base.isWindowScrolling ? 0 : newTopOffset));

if (scrolledPastTop && notScrolledPastBottom) {
newLeft = offset.left - scrollLeft + base.options.leftOffset;
newLeft = offset.left + base.options.leftOffset;
base.$originalHeader.css({
'position': 'fixed',
'margin-top': base.options.marginTop,
Expand Down

2 comments on commit a82d959

@TioNoob
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you forked back the commit ?

@simon04
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I filed a pull request: jmosbech#114

Please sign in to comment.