File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -490,6 +490,7 @@ body { pointer-events: none; }
490490 margin-bottom : 10px ;
491491}
492492
493+ .impress-disabled .step ,
493494.impress-not-supported .step {
494495 position : relative;
495496 opacity : 1 ;
Original file line number Diff line number Diff line change 338338 root . addEventListener ( transitionEnd , onTransitionEnd , false ) ;
339339 canvas . addEventListener ( transitionEnd , onTransitionEnd , false ) ;
340340
341+ body . classList . remove ( "impress-disabled" ) ;
342+ body . classList . add ( "impress-enabled" ) ;
343+
341344 // get and init steps
342345 steps = $$ ( ".step" , root ) ;
343346 steps . forEach ( initStep ) ;
494497 stepTo ( getElementFromUrl ( ) || steps [ 0 ] ) ;
495498 } , false ) ;
496499
500+ body . classList . add ( "impress-disabled" ) ;
501+
497502 return ( roots [ "impress-root-" + rootId ] = {
498503 init : init ,
499504 stepTo : stepTo ,
You can’t perform that action at this time.
0 commit comments