@@ -145,7 +145,6 @@ PivotView.prototype.pushTable = function (opts) {
145
145
146
146
this . elements . base . appendChild ( tableElement ) ;
147
147
this . elements . tableContainer = tableElement ;
148
- console . log ( "pagination changed to " , pg ) ;
149
148
this . pagination = pg ;
150
149
151
150
setTimeout ( function ( ) {
@@ -438,7 +437,7 @@ PivotView.prototype.recalculateSizes = function (container) {
438
437
headerH = topHeader . offsetHeight ,
439
438
containerHeight = container . offsetHeight ,
440
439
mainHeaderWidth = headerContainer . offsetWidth ,
441
- hasVerticalScrollBar = tableBlock . scrollHeight > containerHeight - headerH - pagedHeight ,
440
+ hasVerticalScrollBar = lTableHead . offsetHeight > containerHeight - headerH - pagedHeight ,
442
441
addExtraLeftHeaderCell = lTableHead . offsetHeight > containerHeight - headerH - pagedHeight
443
442
&& this . SCROLLBAR_WIDTH > 0 ,
444
443
cell , tr , cellWidths = [ ] , columnHeights = [ ] , i ;
@@ -752,7 +751,7 @@ PivotView.prototype.renderRawData = function (data) {
752
751
753
752
leftHeader . className = "lpt-leftHeader" ;
754
753
topHeader . className = "lpt-topHeader" ;
755
- if ( this . controller . CONFIG . enableHeadersScrolling ) {
754
+ if ( this . controller . CONFIG [ " enableHeadersScrolling" ] ) {
756
755
leftHeader . className = leftHeader . className + " lpt-scrollable-y" ;
757
756
topHeader . className = topHeader . className + " lpt-scrollable-x" ;
758
757
leftHeader . addEventListener ( "scroll" , function ( ) {
0 commit comments