Skip to content

Commit

Permalink
🎨
Browse files Browse the repository at this point in the history
  • Loading branch information
blivesta committed Nov 13, 2015
1 parent 612671f commit b32518b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/js/animsition.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,13 +209,11 @@
var inDuration = __.animationCheck.call(_this, thisInDuration, false, true);
var inClass = __.animationCheck.call(_this, thisInClass, true, true);
var overlayMode = __.optionCheck.call(_this, options);
var outClass = $this.data(namespace).outClass;

if(options.loading) __.removeLoading.call(_this);

var outClass = $this.data(namespace).outClass;
if (outClass) {
$this.removeClass(outClass);
}
if(outClass) $this.removeClass(outClass);

if(overlayMode) {
__.inOverlay.call(_this, inClass, inDuration);
Expand Down

0 comments on commit b32518b

Please sign in to comment.