sheet.xsl: improve url display

master
pictuga 2020-04-16 10:33:36 +02:00
parent 7375adce33
commit a4e1dba8b7
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@
</div> </div>
<script> <script>
document.getElementById("url").innerHTML = window.location.href.replace(':html/', '') document.getElementById("url").innerHTML = window.location.href.replace(/:html\/?/, '')
if (!/:html/.test(window.location.href)) if (!/:html/.test(window.location.href))
for (var content of document.querySelectorAll(".desc,.content")) for (var content of document.querySelectorAll(".desc,.content"))