aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMary <Ipadlover8322@gmail.com>2022-02-01 12:31:28 -0500
committerGitHub <noreply@github.com>2022-02-01 12:31:28 -0500
commit7d6d98fa7acaac41dcaf080770e24fa6bf4ad41e (patch)
tree943d2cf053a0b65440f38639d91fe15b7b14955a
parente88a48aaf9fe446aae83cd3559af1c7a6ed4d921 (diff)
parentb7fcaedd87848a7592e196b6dafc066366ca1422 (diff)
Merge pull request #309 from Mstrodl/hotfix/first-sign-button
active_packets: don't init datatables for intro realm
-rw-r--r--packet/templates/active_packets.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/packet/templates/active_packets.html b/packet/templates/active_packets.html
index 343649a..bd8fdc3 100644
--- a/packet/templates/active_packets.html
+++ b/packet/templates/active_packets.html
@@ -112,5 +112,7 @@
{% block scripts %}
{{ super() }}
- <script src="{{ url_for('static', filename='js/tables.min.js') }}"></script>
+ {% if info.realm == "csh" %}
+ <script src="{{ url_for('static', filename='js/tables.min.js') }}"></script>
+ {% endif %}
{% endblock %}