Browse Source

#2469 Fix issue with get animation when cache is undefined

pull/2596/head
jlukic 9 years ago
parent
commit
a942a27ad6
1 changed files with 4 additions and 1 deletions
  1. 5
      src/definitions/modules/transition.js

5
src/definitions/modules/transition.js

@ -553,7 +553,10 @@ $.fn.transition = function() {
;
},
currentAnimation: function() {
return module.cache.animation || false;
return (module.cache && module.cache.animation !== undefined)
? module.cache.animation
: false
;
},
currentDirection: function() {
return module.is.inward()

Loading…
Cancel
Save