diff --git a/assets/global.css b/assets/global.css index aef13c5..763ac8c 100644 --- a/assets/global.css +++ b/assets/global.css @@ -61,7 +61,7 @@ body { background: --mdc-theme-primary; color: --mdc-theme-background; text-align: center; - bottom: 0; + bottom: -100; left: 0; z-index: 9999; } diff --git a/assets/global.js b/assets/global.js index a57634f..effc85c 100644 --- a/assets/global.js +++ b/assets/global.js @@ -40,9 +40,11 @@ $(document).ready(function(){ $(".source-code-link").animate({bottom: "+100px"}, 1000); $("#close-cookies").click(function(){ event.preventDefault(); - $("#cookies").animate({bottom: "0px"}, 1000); + // $("#cookies").animate({bottom: "0px"}, 1000); + $("#cookies").removeAttr("style"); $("#cookies").hide(); - $(".source-code-link").animate({bottom: "0px"}, 1000); + $(".source-code-link").removeAttr("style"); + // $(".source-code-link").animate({bottom: "0px"}, 1000); Cookies.set("demo.matthew-grove.ml-cookies-accepted", "true", {expires: 30}); }); });