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' ) {
setWidth = $this.outerWidth();
} else {
if ( $hCells.eq( index ).css( 'border-collapse' ) === 'collapse' ) {
if ( $this.css( 'border-collapse' ) === 'collapse' ) {
if ( $this.length && window.getComputedStyle ) {
setWidth = parseFloat( window.getComputedStyle( $this[ 0 ], null ).width );
} else {
@ -794,6 +794,7 @@ ts.scroller = {
$fixedColumn.removeClass( tscss.scrollerHideElement );
wo.scroller_isBusy = false;
},
fixHeight : function( $rows, $fixedRows ) {