diff --git a/src/referencestrip.js b/src/referencestrip.js index 97833e58..aef4e93e 100644 --- a/src/referencestrip.js +++ b/src/referencestrip.js @@ -224,7 +224,7 @@ $.ReferenceStrip = function ( options ) { this.panels.push( element ); } - loadPanels( this, this.scroll == 'vertical' ? viewerSize.y : viewerSize.y, 0 ); + loadPanels( this, this.scroll == 'vertical' ? viewerSize.y : viewerSize.x, 0 ); this.setFocus( 0 ); };