Disabled new htaccess rules, Improved the active tab code

Update .htaccess, index.php, and 7 more files...
This commit is contained in:
2022-02-25 05:04:01 +01:00
parent 76e3044e32
commit 48c57d47ed
10 changed files with 31 additions and 23 deletions

View File

@@ -1,14 +1,9 @@
// TODO: Fix this !!!
document.getElementById("sbl-home").classList.add("active");
// Checking if the hamburger button for the side menu has been clicked
const element = document.getElementById('profile_title')
// always checking if the element is clicked, if so, do alert('hello')
// Toggle button for the side menu. (Global)
document.getElementById('button-sidebar').addEventListener("click", () => {
halfmoon.toggleSidebar();
});
// TOX ID copiers. (Contact page)
if(document.getElementById('button-copy-tox-id-main') != null) {
document.getElementById('button-copy-tox-id-main').addEventListener("click", () => {
navigator.clipboard.writeText("62C1A91A425F90D7B4F047D70CCF31E7402C9EC37B93604B0F37C416442D15044AF6C1AE033B");