File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,9 @@ works fine.
4545 }
4646 else {
4747 $scaler . css ( 'transform' , 'scale(' + scale + ')' ) ;
48+ window . setTimeout ( function ( ) {
49+ $container . scrollTop ( 0 )
50+ } , 1 ) ;
4851 }
4952 } ) ;
5053 } ;
@@ -89,7 +92,9 @@ works fine.
8992 window . clearTimeout ( timer ) ;
9093 timer = window . setTimeout ( scaleDeck , options . scaleDebounce ) ;
9194 } ) ;
92- $window . unbind ( 'load.deckscale' ) . bind ( 'load.deckscale' , scaleDeck ) ;
95+ $window . unbind ( 'load.deckscale' ) . bind ( 'load.deckscale' , function ( ) {
96+ $ . deck ( 'enableScale' ) ;
97+ } ) ;
9398 } ;
9499
95100 var bindKeyEvents = function ( ) {
@@ -181,7 +186,6 @@ works fine.
181186 wrapRootSlideContent ( ) ;
182187 scaleOnResizeAndLoad ( ) ;
183188 bindKeyEvents ( ) ;
184- $ . deck ( 'enableScale' ) ;
185189 } ) ;
186190} ) ( jQuery , 'deck' , this ) ;
187191
You can’t perform that action at this time.
0 commit comments