update assets

This commit is contained in:
2023-10-27 07:54:32 +00:00
parent 17741daeb9
commit 9433a58a0b
258 changed files with 6904 additions and 5127 deletions

View File

@@ -1,8 +1,3 @@
// Open article on click without an anchor-tag.
function openArticle(link){
window.location.href=link;
}
if(cookieSet("InfoBoxHidden")){
let element = document.getElementById("infoBox");
element.classList.toggle("hidden");
@@ -31,24 +26,12 @@ function cookieSet(cname) {
let ca = decodedCookie.split(';');
for(let i = 0; i < ca.length; i++) {
let c = ca[i];
while (c.charAt(0) == ' ') {
while (c.charAt(0) === ' ') {
c = c.substring(1);
}
if (c.indexOf(name) == 0) {
if (c.indexOf(name) === 0) {
return true;
}
}
return false;
}
var spy = new Gumshoe('#scrollspy-subNav a', {
/***** Scrollspy *****/ // Active classes
navClass: 'active', // applied to the nav list item
});
/***** SmoothScroll *****/ // All animations will take exactly 500ms
var scroll = new SmoothScroll('a[href*="#"]', {
speed: 750,
speedAsDuration: true,
easing: 'easeInOutQuad'
});
}