Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit 00a2926

Browse files
committed
Fix for issue #4424 - Transitions with Pages that have Fixed Toolbars - Remove class in class after transition completes
1 parent 7f27938 commit 00a2926

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

js/widgets/fixedToolbar.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,10 @@ define( [ "jquery", "../jquery.mobile.widget", "../jquery.mobile.core", "../jque
204204
if ( this._useTransition( notransition ) ) {
205205
$el
206206
.removeClass( "out " + hideClass )
207-
.addClass( "in" );
207+
.addClass( "in" )
208+
.animationComplete(function () {
209+
$el.removeClass('in');
210+
});
208211
}
209212
else {
210213
$el.removeClass( hideClass );

0 commit comments

Comments
 (0)