Skip to content

Commit

Permalink
Force browser reflow, works on Safari as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
procmail committed Jan 19, 2015
1 parent f3f3105 commit 81debab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/morphist.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
var element = this.children.eq(this.index);
element.removeClass();
if (this.settings.animateIn === this.settings.animateOut) {
element[0].offsetWidth = element[0].offsetWidth;
element[0].offsetWidth;
}
return element.addClass("animated " + this.settings.animateOut);
}
Expand Down

0 comments on commit 81debab

Please sign in to comment.