File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ if (typeof Slick === "undefined") {
5656 // settings
5757 var defaults = {
5858 alwaysShowVerticalScroll : false ,
59- alwaysShowHorizontalScroll : false ,
59+ alwaysAllowHorizontalScroll : false ,
6060 explicitInitialization : false ,
6161 rowHeight : 25 ,
6262 defaultColumnWidth : 80 ,
@@ -309,7 +309,7 @@ if (typeof Slick === "undefined") {
309309
310310 $viewport = $ ( "<div class='slick-viewport' style='width:100%;overflow:auto;outline:0;position:relative;;'>" ) . appendTo ( $container ) ;
311311 $viewport . css ( "overflow-y" , options . alwaysShowVerticalScroll ? "scroll" : ( options . autoHeight ? "hidden" : "auto" ) ) ;
312- $viewport . css ( "overflow-x" , options . forceFitColumns && ! options . alwaysShowHorizontalScroll ? "hidden" : "auto" ) ;
312+ $viewport . css ( "overflow-x" , options . forceFitColumns && ! options . alwaysAllowHorizontalScroll ? "hidden" : "auto" ) ;
313313 if ( options . viewportClass ) $viewport . toggleClass ( options . viewportClass , true ) ;
314314
315315 $canvas = $ ( "<div class='grid-canvas' />" ) . appendTo ( $viewport ) ;
You can’t perform that action at this time.
0 commit comments