File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 185
185
}
186
186
187
187
// do transition
188
+ pageInto . style . display = "block" ;
189
+ pageInto . clientWidth ;
188
190
pageInto . classList . remove ( "out" ) ;
189
191
pageInto . classList . add ( "in" ) ;
190
192
pageOut && pageInto . classList . add ( params_in . form ) ;
209
211
} ) ;
210
212
if ( ! store [ pageid ] ) {
211
213
var animateEventName = isWebkit ? webkitkey : animationkey ;
214
+ index && pageInto . addEventListener ( animateEventName , function ( ) {
215
+ if ( this . classList . contains ( "in" ) == false ) {
216
+ this . style . display = "none" ;
217
+ }
218
+ } ) ;
219
+
212
220
if ( typeof animition == "string" && params_in . root [ animition ] ) {
213
221
pageInto . addEventListener ( animateEventName , function ( ) {
214
222
params_in . root [ animition ] ( this , this . classList . contains ( "in" ) ? "into" : "out" ) ;
You can’t perform that action at this time.
0 commit comments