Commit c75f95c3 authored by Julian Rother's avatar Julian Rother
Browse files

Replaced auto-collapse hack with another hack (#222)

parent 62e2f6b4
......@@ -109,7 +109,7 @@
{% if page_border == 0 %}
<div class="col-xs-12">
{% else %}
<div id="content-col" class="col-xs-12 col-md-offset-{{ page_border }} col-md-{{ 12-(2*page_border) }}">
<div 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>
......
......@@ -56,10 +56,11 @@
</ul>
</div></div>
</div>
{% endfor %}
<div class="visible-xs" id="xs-check"></div>
<script>
if ($("#content-col").css("margin-left") == "0px") {
if($("#xs-check").is(":visible")) {
$("#zeitlos").removeClass('in')
}
</script>
{% endfor %}
{% 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