Move function out of compressor
This commit is contained in:
parent
8c7bbd4b39
commit
9019bcb990
1 changed files with 9 additions and 5 deletions
|
@ -208,6 +208,15 @@
|
||||||
</script>
|
</script>
|
||||||
{% endcompress %}
|
{% endcompress %}
|
||||||
{% if show_contest_mode %}
|
{% if show_contest_mode %}
|
||||||
|
<script type="text/javascript">
|
||||||
|
$(function() {
|
||||||
|
window.register_contest_notification("{{url('contest_clarification_ajax', request.participation.contest.key)}}");
|
||||||
|
|
||||||
|
{% if show_contest_mode %}
|
||||||
|
$('.left-sidebar').hide();
|
||||||
|
{% endif %}
|
||||||
|
});
|
||||||
|
</script>
|
||||||
{% compress js %}
|
{% compress js %}
|
||||||
<script src="{{ static('libs/tablesorter.js') }}" type="text/javascript"></script>
|
<script src="{{ static('libs/tablesorter.js') }}" type="text/javascript"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
@ -235,11 +244,6 @@
|
||||||
return (node.hasClass('p') ? text.replace(/p$/, '') : text);
|
return (node.hasClass('p') ? text.replace(/p$/, '') : text);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
window.register_contest_notification("{{url('contest_clarification_ajax', request.participation.contest.key)}}");
|
|
||||||
|
|
||||||
{% if show_contest_mode %}
|
|
||||||
$('.left-sidebar').hide();
|
|
||||||
{% endif %}
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
{% endcompress %}
|
{% endcompress %}
|
||||||
|
|
Loading…
Reference in a new issue