Commit 62e2f6b4 authored by Julian Rother's avatar Julian Rother
Browse files

Auto-collapse "Zeitlos"-panel for xs, closes #222

parent f9123172
......@@ -109,7 +109,7 @@
{% if page_border == 0 %}
<div class="col-xs-12">
{% else %}
<div class="col-xs-12 col-md-offset-{{ page_border }} col-md-{{ 12-(2*page_border) }}">
<div id="content-col" class="col-xs-12 col-md-offset-{{ page_border }} col-md-{{ 12-(2*page_border) }}">
{% endif %}
{% for msg in get_flashed_messages() %}
<div class="hidden-print alert alert-danger" role="alert">{{ msg|safe }}</div>
......
......@@ -57,4 +57,9 @@
</div></div>
</div>
{% endfor %}
<script>
if ($("#content-col").css("margin-left") == "0px") {
$("#zeitlos").removeClass('in')
}
</script>
{% endblock %}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment