diff --git a/index.php b/index.php index 8f33ec2..fa39fb8 100644 --- a/index.php +++ b/index.php @@ -86,16 +86,6 @@ $(".fancyabout").fancybox(fancyBoxObject ('COPS ', 'ajax')); - $(".headright").click(function(){ - if ($("#tool").is(":hidden")) { - $("#tool").slideDown("slow"); - $.cookie('toolbar', '1'); - } else { - $("#tool").slideUp(); - $.removeCookie('toolbar'); - } - }); - $.when($.get('templates/default/header.html'), $.get('templates/default/footer.html'), $.get('templates/default/bookdetail.html'), @@ -118,7 +108,7 @@ }; templatePage = doT.template (page [0], undefined, defPage); - var toto = "toto"; + currentData = data [0]; updatePage (data [0]); history.replaceState(data [0], "", window.location); diff --git a/templates/default/header.html b/templates/default/header.html index 65fdd0a..d1651eb 100644 --- a/templates/default/header.html +++ b/templates/default/header.html @@ -6,7 +6,7 @@