Skip to content
Browse files

Fix for issue #4424 fixedToolbar Widget does not remove in class on a…

…nimation complete.
  • Loading branch information...
1 parent 3d54e2c commit 7bb3faabc2adadb03fb2ad3e2759a8d76bd4da18 @arschmitz committed Oct 16, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 js/widgets/fixedToolbar.js
View
5 js/widgets/fixedToolbar.js
@@ -203,7 +203,10 @@ define( [ "jquery", "../jquery.mobile.widget", "../jquery.mobile.core", "../jque
if ( this._useTransition( notransition ) ) {
$el
.removeClass( "out " + hideClass )
- .addClass( "in" );
+ .addClass( "in" )
+ .animationComplete(function (){
+ $el.removeClass('in');
+ });
}
else {
$el.removeClass( hideClass );

0 comments on commit 7bb3faa

Please sign in to comment.
Something went wrong with that request. Please try again.