summaryrefslogtreecommitdiffstats
path: root/templates/group.html
diff options
context:
space:
mode:
authorAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2016-01-12 01:01:59 +0100
committerAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2016-01-12 01:01:59 +0100
commit4b6c722de7ab34d03f2f380b1432fc00f8e1cb08 (patch)
tree56f8273742b0edcd9633626d3a3dd111580b737d /templates/group.html
parent0c10c18928bd386d402cd8dd58c9561172c994ab (diff)
downloadpadlite-teams-4b6c722de7ab34d03f2f380b1432fc00f8e1cb08.tar.gz
padlite-teams-4b6c722de7ab34d03f2f380b1432fc00f8e1cb08.tar.bz2
padlite-teams-4b6c722de7ab34d03f2f380b1432fc00f8e1cb08.zip
templates: Javascript is required now
The collapsable panels are hidden by default and javascript is required now, but padlite is unusable without javascript anyway. This removes the flashing of the panels during page load.
Diffstat (limited to 'templates/group.html')
-rw-r--r--templates/group.html5
1 files changed, 1 insertions, 4 deletions
diff --git a/templates/group.html b/templates/group.html
index ec61426..7399cfd 100644
--- a/templates/group.html
+++ b/templates/group.html
@@ -117,7 +117,7 @@
</h3>
</div>
- <div id="collapseOperations" class="panel-collapse collapse in">
+ <div id="collapseOperations" class="panel-collapse collapse">
<div class="panel-body">
<p class="col-lg-offset-2 col-lg-8">
<a href="{{ url_for('group_change', group_name=group.name) }}" class="btn btn-block btn-default">Change this group</a>
@@ -129,9 +129,6 @@
</div>
</div>
</div>
- <script type="text/javascript">
- $('#collapseOperations').collapse('hide');
- </script>
{% endif %}
{% else %}{# if not membership.active #}