1
0
Fork 0
mirror of https://gitlab.com/SIGBUS/nyaa.git synced 2024-12-23 00:39:59 +00:00

Fix merge mistake.

This commit is contained in:
ReimuHakurei 2017-06-01 11:37:50 +00:00
parent 91a9264442
commit 3e2437bba1

View file

@ -201,15 +201,6 @@
</div> </div>
<script type="text/javascript"> <script type="text/javascript">
var target = document.getElementById('torrent-description');
var text = target.innerHTML;
var reader = new commonmark.Parser({safe: true});
var writer = new commonmark.HtmlRenderer({safe: true, softbreak: '<br />'});
var parsed = reader.parse(text.trim());
target.innerHTML = writer.render(parsed);
</script>
<script>
// Focus the report text field once the modal is opened. // Focus the report text field once the modal is opened.
$('#reportModal').on('shown.bs.modal', function () { $('#reportModal').on('shown.bs.modal', function () {
$('#reason').focus(); $('#reason').focus();