Skip to content

Commit

Permalink
🐛 fix top banner not showing up
Browse files Browse the repository at this point in the history
  • Loading branch information
krmax44 committed Mar 28, 2024
1 parent 35466b4 commit 6965d23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fragdenstaat_de/fds_cms/templates/cms/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{% include "account/includes/impostor.html" %}
{% endif %}
{% block top_block %}
<div class="top-banner d-none">{% static_placeholder "top_banner" %}</div>
<div class="top-banner" hidden>{% static_placeholder "top_banner" %}</div>
{% endblock top_block %}
{% block navbar %}
{% include "header.html" %}
Expand Down
2 changes: 1 addition & 1 deletion frontend/javascript/top-banner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ function showTopBanner(): boolean {
})

// show banner
topBanner.style.display = 'block'
topBanner.hidden = false

// tracking
setTimeout(() => {
Expand Down

0 comments on commit 6965d23

Please sign in to comment.