Skip to content

Commit

Permalink
Merge pull request #30 from geldmacher/patch-2
Browse files Browse the repository at this point in the history
[BUGFIX] Fixes repeating animation issue in IE 11 and below
  • Loading branch information
Miguel Ángel Pérez committed Aug 17, 2014
2 parents 04c7a30 + 82ce4cd commit 94e342b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions jquery.smoothState.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,9 +271,8 @@

/** Forces browser to redraw elements */
redraw: function ($element) {
$element.hide(0, function() {
$(this).show();
});
$element.height(0);
setTimeout(function(){$element.height('auto');}, 0);
}
},

Expand Down

0 comments on commit 94e342b

Please sign in to comment.