fix display of torrent preview that didn't trigger
Cette révision appartient à :
Parent
b2c2bf6b25
révision
8c7050cc6b
1 fichiers modifiés avec 1 ajouts et 1 suppressions
|
@ -106,7 +106,7 @@
|
|||
{{end}}
|
||||
{{ block footer_js()}}
|
||||
<script type="text/javascript">var Sukebei = {{ Sukebei }}; var UserTrusted = {{ User.IsTrusted() }};
|
||||
document.getElementsByClassName("torrent-preview-table")[0].display = "block";
|
||||
document.getElementsByClassName("torrent-preview-table")[0].style.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" });
|
||||
document.getElementsByClassName("form-torrent-category")[0].addEventListener("change", UpdatePreviewCategory);
|
||||
|
||||
|
|
Référencer dans un nouveau ticket