page = $el.closest( ':jqmData(role="page")' ),
jumpToDivider;
- this.scrollview = $el.closest( '.ui-scrollview-clip' );
+ this.scrollview = $el.addClass( 'ui-fastscroll-target' ).closest( '.ui-scrollview-clip' );
this.shortcutsContainer = $( '<div class="ui-fastscroll" aria-label="Fast scroll bar, double tap to fast scroll mode" tabindex="0"/>' );
this.shortcutsList = $( '<ul aria-hidden="true"></ul>' );
self.refresh();
} );
- $( window ).unbind( ".fastscroll" ).bind( "resize.fastscroll", function ( e ) {
- self.refresh();
- } );
-
self.scrollview.bind( "scrollstart", function ( e ) {
self._setTimer( false );
}).bind( "scrollstop", function ( e ) {
.fastscroll();
} );
+ $( window ).bind( "resize orientationchange", function ( e ) {
+ $( ".ui-page-active .ui-fastscroll-target" ).fastscroll( "refresh" );
+ } );
} ( jQuery ) );
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);