Fixing weird formatting issue.

This commit is contained in:
mike12345567 2021-01-29 13:43:20 +00:00
parent 9367ce5bbc
commit 73ac1f976c
1 changed files with 2 additions and 1 deletions

View File

@ -161,7 +161,8 @@
</div> </div>
</div> </div>
<script> <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) === "/") { if (url.substring(url.length - 1) === "/") {
url = url.substring(0, url.length - 1) url = url.substring(0, url.length - 1)
} }