sheet.xsl: improve url display
parent
7375adce33
commit
a4e1dba8b7
|
@ -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"))
|
||||||
|
|
Loading…
Reference in New Issue