Fixing weird formatting issue.

This commit is contained in:
mike12345567 2021-01-29 13:43:20 +00:00
parent 918a95071d
commit 9b4895e062
1 changed files with 2 additions and 1 deletions

View File

@ -161,7 +161,8 @@
</div>
</div>
<script>
window.addEventListener("load", () => { let url = document.URL.split("//")[1]
window.addEventListener("load", () => {
let url = document.URL.split("//")[1]
if (url.substring(url.length - 1) === "/") {
url = url.substring(0, url.length - 1)
}