JavaScript Refactor p1

This commit is contained in:
Simon-Martens
2024-01-25 13:41:44 +01:00
parent d386e8ad49
commit 3921f907fb
15 changed files with 723 additions and 769 deletions

View File

@@ -1,5 +1,5 @@
// Marks anchors, if anchors are present in the URL
const markanchor = function () {
const startup_markanchor = function () {
var currentUrl = document.URL,
urlParts = currentUrl.split('#');
var anchor = (urlParts.length > 1) ? urlParts[1] : null;
@@ -19,4 +19,4 @@ const markanchor = function () {
}
}
markanchor();
startup_markanchor();