Skip to content

Commit 7d6d98f

Browse files
authored
Merge pull request #309 from Mstrodl/hotfix/first-sign-button
active_packets: don't init datatables for intro realm
2 parents e88a48a + b7fcaed commit 7d6d98f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packet/templates/active_packets.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,5 +112,7 @@ <h4 class="page-title">Active Packets</h4>
112112

113113
{% block scripts %}
114114
{{ super() }}
115-
<script src="{{ url_for('static', filename='js/tables.min.js') }}"></script>
115+
{% if info.realm == "csh" %}
116+
<script src="{{ url_for('static', filename='js/tables.min.js') }}"></script>
117+
{% endif %}
116118
{% endblock %}

0 commit comments

Comments
 (0)