Skip to content

Commit

Permalink
Merge branch 'ced-b-float-width-cell-patch'
Browse files Browse the repository at this point in the history
  • Loading branch information
jmosbech committed Mar 5, 2015
2 parents 76198a8 + 520d9b8 commit 8d0cd59
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 @@ -197,7 +197,7 @@
var width, $this = $(this);

if ($this.css('box-sizing') === 'border-box') {
width = $this.outerWidth(); // #39: border-box bug
width = $this[0].getBoundingClientRect().width; // #39: border-box bug
} else {
var $origTh = $('th', base.$originalHeader);
if ($origTh.css('border-collapse') === 'collapse') {
Expand Down

0 comments on commit 8d0cd59

Please sign in to comment.