Fix animation value

This commit is contained in:
Matthew Grove
2018-11-23 13:27:06 +00:00
parent 02aab93c08
commit 635c3138d2
2 changed files with 64 additions and 1 deletions

View File

@@ -50,7 +50,7 @@ $(document).ready(function(){
$("#cookies").load("/page-inserts/cookie-notice.html", function(){
$("#cookies").show();
$("#cookies").animate({bottom: "0px"}, 1000);
$("footer").animate({marginBottom: "115px"}, 1000);
$("footer").animate({marginBottom: "87px"}, 1000);
$("#close-cookies").click(function(){
event.preventDefault();
$("#cookies").animate({bottom: "-100px"}, 1000);