NDOJ/templates/contest/media-js.html

13 lines
558 B
HTML
Raw Permalink Normal View History

2020-01-21 06:35:58 +00:00
<script type="text/javascript">
$(function () {
$('.leaving-forever').click(function () {
return confirm('{{ _('Are you sure you want to leave?') }}\n' +
'{{ _('You cannot come back to a virtual participation. You will have to start a new one.') }}');
});
$('.first-join').click(function () {
return confirm('{{ _('Are you sure you want to join?') }}\n' +
'{{ _('Joining a contest starts your timer, after which it becomes unstoppable.') }}');
});
});
</script>