Skip to content

Commit

Permalink
Fix Pageout 0 on Safari
Browse files Browse the repository at this point in the history
  • Loading branch information
PascalPixel committed Jul 21, 2015
1 parent f9e4ea2 commit 6630889
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/animsition.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@
var $this = $(this);

$this
.css({ "animation-duration" : (outDuration / 1000) + "s" })
.css({ "animation-duration" : ((outDuration + 1) / 1000) + "s" })
.addClass(outClass)
.animateCallback(function(){
location.href = url
Expand All @@ -239,7 +239,7 @@
var inClass = methods.animationCheck.call(_this,thisInClass,true,true);

$(options.overlayParentElement).children('.' + options.overlayClass)
.css({ "animation-duration" : (outDuration / 1000) + "s" })
.css({ "animation-duration" : ((outDuration + 1) / 1000) + "s" })
.removeClass(inClass)
.addClass(outClass)
.animateCallback(function(){
Expand Down

0 comments on commit 6630889

Please sign in to comment.