Improved slightly error pages, Added card's corner triangular button

Update .gitignore, 403.php, and 7 more files...
This commit is contained in:
2022-09-21 21:52:49 +02:00
parent 97336cb8b5
commit 2555400b2d
9 changed files with 210 additions and 57 deletions

View File

@@ -4,13 +4,13 @@ document.getElementById('button-sidebar').addEventListener("click", () => {
// TODO: Fix the slide size in gliders
});
// Adding the last URL to every a element with the 'js-set-previous-url' class.
/*document.querySelectorAll("a.js-set-previous-url").forEach(element => {
// Adding the last URL to every "a" element with the 'js-set-previous-url' class.
document.querySelectorAll("a.js-set-previous-url").forEach(element => {
element.href = document.referrer;
element.addEventListener('click', function(e) {
window.history.go(-2);
});
});*/
//element.addEventListener('click', function(e) {
// window.history.go(-2);
//});
});
// TOX ID copiers. (Contact page)
if(document.getElementById('button-copy-tox-id-main') != null) {