@@ -145,7 +145,6 @@ PivotView.prototype.pushTable = function (opts) {
145145
146146 this . elements . base . appendChild ( tableElement ) ;
147147 this . elements . tableContainer = tableElement ;
148- console . log ( "pagination changed to " , pg ) ;
149148 this . pagination = pg ;
150149
151150 setTimeout ( function ( ) {
@@ -438,7 +437,7 @@ PivotView.prototype.recalculateSizes = function (container) {
438437 headerH = topHeader . offsetHeight ,
439438 containerHeight = container . offsetHeight ,
440439 mainHeaderWidth = headerContainer . offsetWidth ,
441- hasVerticalScrollBar = tableBlock . scrollHeight > containerHeight - headerH - pagedHeight ,
440+ hasVerticalScrollBar = lTableHead . offsetHeight > containerHeight - headerH - pagedHeight ,
442441 addExtraLeftHeaderCell = lTableHead . offsetHeight > containerHeight - headerH - pagedHeight
443442 && this . SCROLLBAR_WIDTH > 0 ,
444443 cell , tr , cellWidths = [ ] , columnHeights = [ ] , i ;
@@ -752,7 +751,7 @@ PivotView.prototype.renderRawData = function (data) {
752751
753752 leftHeader . className = "lpt-leftHeader" ;
754753 topHeader . className = "lpt-topHeader" ;
755- if ( this . controller . CONFIG . enableHeadersScrolling ) {
754+ if ( this . controller . CONFIG [ " enableHeadersScrolling" ] ) {
756755 leftHeader . className = leftHeader . className + " lpt-scrollable-y" ;
757756 topHeader . className = topHeader . className + " lpt-scrollable-x" ;
758757 leftHeader . addEventListener ( "scroll" , function ( ) {
0 commit comments