fix: add classes to tables
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Baoshuo Ren 2022-09-26 14:35:13 +08:00
parent 87847e02d0
commit 6cbf44ead5
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -419,6 +419,15 @@ $('#contest-countdown').countdown(<?= $contest['end_time']->getTimestamp() - UOJ
</aside> </aside>
</div> </div>
<script>
$(document).ready(function() {
$('.markdown-body table').each(function() {
$(this).addClass('table', 'table-bordered', 'table-striped');
});
});
</script>
<?php endif ?> <?php endif ?>
<?php echoUOJPageFooter() ?> <?php echoUOJPageFooter() ?>