mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-16 04:11:01 +00:00
fixed error when from is undefined
This commit is contained in:
parent
79929949db
commit
d970c20e4c
1 changed files with 1 additions and 1 deletions
|
|
@ -439,7 +439,7 @@
|
|||
|
||||
// callback - remove classes, etc
|
||||
to.animationComplete(function() {
|
||||
from.add( to ).removeClass("out in reverse " + transition );
|
||||
to.add(from).removeClass("out in reverse " + transition );
|
||||
if( from ){
|
||||
from.removeClass( $.mobile.activePageClass );
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue