From e1f4b0f35e756fcfbfd615b83ab4d856c32c63ed Mon Sep 17 00:00:00 2001
From: Stephan Porada <sporada@uni-bielefeld.de>
Date: Tue, 8 Sep 2020 11:00:00 +0200
Subject: [PATCH] Use headline ID instead of class

---
 web/app/templates/corpora/analyse_corpus.html.j2 | 2 +-
 web/app/templates/nopaque.html.j2                | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/web/app/templates/corpora/analyse_corpus.html.j2 b/web/app/templates/corpora/analyse_corpus.html.j2
index d940e6ff..691b28f1 100644
--- a/web/app/templates/corpora/analyse_corpus.html.j2
+++ b/web/app/templates/corpora/analyse_corpus.html.j2
@@ -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 %}
diff --git a/web/app/templates/nopaque.html.j2 b/web/app/templates/nopaque.html.j2
index edec744b..ccf60643 100644
--- a/web/app/templates/nopaque.html.j2
+++ b/web/app/templates/nopaque.html.j2
@@ -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() }}