summaryrefslogtreecommitdiff
path: root/dest/js/header.js
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2023-10-29 01:34:21 +0800
committerlittleblack111 <littleblack11111@gmail.com>2023-10-29 01:34:21 +0800
commit5151fe758d60f7695415e3eccc3b2c717ed7550f (patch)
treefa7314959bb4ed6b9880d926571c44d16b62697a /dest/js/header.js
parentf90f7313bb3ff6c3a28f6a1845936d2ba05981c4 (diff)
re-build
Diffstat (limited to 'dest/js/header.js')
-rw-r--r--dest/js/header.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/dest/js/header.js b/dest/js/header.js
index deefc268..141e1366 100644
--- a/dest/js/header.js
+++ b/dest/js/header.js
@@ -5,6 +5,6 @@ var newElement = document.createElement('div');
var page = header.getAttribute('page');
// console.log(page);
-newElement.innerHTML = "\n<!-- header -->\n<header id=\"navBarHeader\">\n <nav class=\"navBar\">\n <div class=\"hleft\">\n <a id=\"btnHome\" style=\"text-decoration: unset\" href=\"/\">Home<span></span></span></a>\n </div>\n <div class=\"hright\">\n <a href=\"/pages/repo/github/repos.html\" id=\"btnGhRepo\" style=\"text-decoration: unset\">Github Repos</a>\n <a href=\"/pages/info/about.html\" id=\"btnAbout\" style=\"text-decoration: unset\">About</a>\n </div>\n </nav> \n</header>\n";
+newElement.innerHTML = "\n<!-- header -->\n<header id=\"navBarHeader\">\n\t<nav class=\"navBar\">\n\t\t<div class=\"hleft\">\n\t\t\t<a id=\"btnHome\" style=\"text-decoration: unset\" href=\"/\">Home<span></span></span></a>\n\t\t</div>\n\t\t<div class=\"hright\">\n\t\t\t<a href=\"/pages/repo/github/repos.html\" id=\"btnGhRepo\" style=\"text-decoration: unset\">Github Repos</a>\n\t\t\t<a href=\"/pages/info/about.html\" id=\"btnAbout\" style=\"text-decoration: unset\">About</a>\n\t\t</div>\n\t</nav> \n</header>\n";
header.appendChild(newElement);
document.getElementById("btn" + page).setAttribute('class', 'active'); \ No newline at end of file