Skip to content
Snippets Groups Projects
Commit c75f95c3 authored by Julian Rother's avatar Julian Rother
Browse files

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

parent 62e2f6b4
No related branches found
No related tags found
No related merge requests found
...@@ -109,7 +109,7 @@ ...@@ -109,7 +109,7 @@
{% if page_border == 0 %} {% if page_border == 0 %}
<div class="col-xs-12"> <div class="col-xs-12">
{% else %} {% 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 %} {% endif %}
{% for msg in get_flashed_messages() %} {% for msg in get_flashed_messages() %}
<div class="hidden-print alert alert-danger" role="alert">{{ msg|safe }}</div> <div class="hidden-print alert alert-danger" role="alert">{{ msg|safe }}</div>
......
...@@ -56,10 +56,11 @@ ...@@ -56,10 +56,11 @@
</ul> </ul>
</div></div> </div></div>
</div> </div>
{% endfor %} <div class="visible-xs" id="xs-check"></div>
<script> <script>
if ($("#content-col").css("margin-left") == "0px") { if($("#xs-check").is(":visible")) {
$("#zeitlos").removeClass('in') $("#zeitlos").removeClass('in')
} }
</script> </script>
{% endfor %}
{% endblock %} {% endblock %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment