From fffea5455eef21c50a3669ba0fe54095825d0ca1 Mon Sep 17 00:00:00 2001 From: Mottie Date: Wed, 15 Jul 2015 07:43:58 -0500 Subject: [PATCH] Scroller: fix js error in old IE --- js/widgets/widget-scroller.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/widgets/widget-scroller.js b/js/widgets/widget-scroller.js index 5e25adf7..b98e5437 100644 --- a/js/widgets/widget-scroller.js +++ b/js/widgets/widget-scroller.js @@ -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 ) {