Use headline ID instead of class

This commit is contained in:
Stephan Porada 2020-09-08 11:00:00 +02:00
parent bed76df32f
commit e1f4b0f35e
2 changed files with 2 additions and 2 deletions

View File

@ -361,7 +361,7 @@ document.addEventListener("DOMContentLoaded", () => {
}
// enable scroll to Top
scrollToTop('.headline', '#menu-scroll-to-top-div');
scrollToTop('#headline', '#menu-scroll-to-top-div');
});
</script>
{% endblock %}

View File

@ -231,7 +231,7 @@
<div class="container">
{% endif %}
<div class="row">
<div class="col s12 headline">
<div class="col s12" id="headline">
<h2>{{ headline }}</h2>
</div>
{{ insert_content() }}