Hugo Bilberry First commit to gitea@cowbay.org

This commit is contained in:
2018-11-09 16:23:58 +08:00
commit 16f4228909
1090 changed files with 399555 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
$(document).ready(function() {
$(".toggler").click(function () {
$("nav").slideToggle();
$("#search").autocomplete("val", "");
});
$(document).keyup(function (e) {
if (e.keyCode === 27) {
if ( ! $("nav").hasClass('permanentTopNav') )
$("nav").slideUp();
$("#search").autocomplete("val", "");
}
else if (e.keyCode === 83){
if ( ! $("nav").hasClass('permanentTopNav') )
$("nav").slideDown();
$("#search").focus();
}
})
$('.flexslider').flexslider({
animation: "slide",
prevText: "",
nextText: "",
pauseOnHover: true,
});
});
hljs.initHighlightingOnLoad();