Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0

update date based on current one

Cette révision appartient à :
kilo 2017-07-14 22:49:12 +02:00 révisé par GitHub
Parent 4ef7f60294
révision bd2d4d6363

Voir le fichier

@ -105,7 +105,10 @@
</div>
{{end}}
{{ block footer_js()}}
<script type="text/javascript">var Sukebei = {{ Sukebei }}; var UserTrusted = {{ User.Trusted }};document.getElementsByClassName("torrent-preview-table")[0].display = "block";</script>
<script type="text/javascript">var Sukebei = {{ Sukebei }}; var UserTrusted = {{ User.IsTrusted() }};
document.getElementsByClassName("torrent-preview-table")[0].display = "block";
document.getElementsByClassName("table-torrent-date")[0].innerText = new Date(Date.now()).toLocaleString(document.getElementsByTagName("html")[0].getAttribute("lang"), { year: "numeric", month: "short", day: "numeric" });
</script>
<script type="text/javascript" src="/js/kilo.js"></script>
<script type="text/javascript" src="/js/simplemde.min.js?v={{ Config.Version}}{{ Config.Build }}"></script>
<script type="text/javascript">new SimpleMDE({ element: document.getElementById("desc"), spellChecker: false, showIcons: [ "strikethrough", "code", "table", "horizontal-rule" ] });</script>