mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Scroller: fix js error in old IE
This commit is contained in:
parent
7b8553068d
commit
fffea5455e
@ -386,7 +386,7 @@ ts.scroller = {
|
|||||||
if ( $this.css( 'box-sizing' ) === 'border-box' ) {
|
if ( $this.css( 'box-sizing' ) === 'border-box' ) {
|
||||||
setWidth = $this.outerWidth();
|
setWidth = $this.outerWidth();
|
||||||
} else {
|
} else {
|
||||||
if ( $hCells.eq( index ).css( 'border-collapse' ) === 'collapse' ) {
|
if ( $this.css( 'border-collapse' ) === 'collapse' ) {
|
||||||
if ( $this.length && window.getComputedStyle ) {
|
if ( $this.length && window.getComputedStyle ) {
|
||||||
setWidth = parseFloat( window.getComputedStyle( $this[ 0 ], null ).width );
|
setWidth = parseFloat( window.getComputedStyle( $this[ 0 ], null ).width );
|
||||||
} else {
|
} else {
|
||||||
@ -794,6 +794,7 @@ ts.scroller = {
|
|||||||
$fixedColumn.removeClass( tscss.scrollerHideElement );
|
$fixedColumn.removeClass( tscss.scrollerHideElement );
|
||||||
|
|
||||||
wo.scroller_isBusy = false;
|
wo.scroller_isBusy = false;
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
fixHeight : function( $rows, $fixedRows ) {
|
fixHeight : function( $rows, $fixedRows ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user