Scroller: fix js error in old IE

This commit is contained in:
Mottie 2015-07-15 07:43:58 -05:00
parent 7b8553068d
commit fffea5455e

View File

@ -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 ) {