Changes guided tour link from ID to class. Needed for #8554

Change-Id: I7e99bac6555abec271daca09ebd8323074b34f3d
diff --git a/dev/js/src/init.js b/dev/js/src/init.js
index f49ff3f..12474c0 100644
--- a/dev/js/src/init.js
+++ b/dev/js/src/init.js
@@ -91,15 +91,17 @@
       KorAP.koralQuery = JSON.parse(kqe.getAttribute('data-koralquery') || "");
     };
 
-    let gt;
-    if (gt = document.getElementById('link-guided-tour')) {
-      gt.setAttribute('href', '#');
-      gt.addEventListener('click', function(){
+    let gt = document.getElementsByClassName('link-guided-tour');
+    if (gt.length != null){
+      for(let j = 0; j < gt.length; j++){
+        gt[j].setAttribute('href', '#');
+        gt[j].addEventListener('click', function(){
         tourClass.gTstartSearch().start();
       });
-    
-      KorAP.tourshowR = function(){
-        tourClass.gTshowResults().start();
+    }
+
+    KorAP.tourshowR = function(){
+      tourClass.gTshowResults().start();
       };
     };