diff --git a/jquery.smoothState.js b/jquery.smoothState.js index e5135e2..23a692a 100644 --- a/jquery.smoothState.js +++ b/jquery.smoothState.js @@ -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); } },