mirror of
https://github.com/mgrove36/bbc-young-reporter.git
synced 2026-03-03 19:37:05 +00:00
Merge branch 'master' of https://github.com/reading-school-code/bbc-young-reporter
This commit is contained in:
@@ -50,12 +50,12 @@ $(document).ready(function(){
|
|||||||
$("#cookies").load("/page-inserts/cookie-notice.html", function(){
|
$("#cookies").load("/page-inserts/cookie-notice.html", function(){
|
||||||
$("#cookies").show();
|
$("#cookies").show();
|
||||||
$("#cookies").animate({bottom: "0px"}, 1000);
|
$("#cookies").animate({bottom: "0px"}, 1000);
|
||||||
$(".source-code-link").animate({bottom: "100px"}, 1000);
|
$("footer").animate({marginBottom: "87px"}, 1000);
|
||||||
$("#close-cookies").click(function(){
|
$("#close-cookies").click(function(){
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
$("#cookies").animate({bottom: "-100px"}, 1000);
|
$("#cookies").animate({bottom: "-100px"}, 1000);
|
||||||
setTimeout(function(){$("#cookies").hide()},1000);
|
setTimeout(function(){$("#cookies").hide()},1000);
|
||||||
$(".source-code-link").animate({bottom: "15px"}, 1000);
|
$("footer").animate({marginBottom: "15px"}, 1000);
|
||||||
Cookies.set("reading-school-bbc-young-reporter-cookies-accepted", "true", {expires: 30});
|
Cookies.set("reading-school-bbc-young-reporter-cookies-accepted", "true", {expires: 30});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user