sheet.xsl: improve url display
This commit is contained in:
@@ -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"))
|
||||||
|
Reference in New Issue
Block a user