From a68de83d0278a167ca86fcdcb59555711703ccf9 Mon Sep 17 00:00:00 2001
From: TonyFord <tonyford@strategy-investor.de>
Date: Fri, 20 May 2022 13:53:10 +0200
Subject: [PATCH] bugfix

---
 html/assets/js/script.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/html/assets/js/script.js b/html/assets/js/script.js
index 00d552e..5df1be9 100644
--- a/html/assets/js/script.js
+++ b/html/assets/js/script.js
@@ -278,7 +278,7 @@ function grpPartien( date,steps,saison,runde,spieltag,Bg ){
   var done=true;
 
   var tmp='';
-  tmp+='<h4 id="st'+spieltag+'" class="spieltag s_'+saison+' r_'+runde+' t_'+spieltag+'" ondblclick="getCsv('+saison+',\''+runde+'\','+spieltag+')">Spieltag '+spieltag+'</h4>';
+  tmp+='<h4 id="r'+runde+'st'+spieltag+'" class="spieltag s_'+saison+' r_'+runde+' t_'+spieltag+'" ondblclick="getCsv('+saison+',\''+runde+'\','+spieltag+')">Spieltag '+spieltag+'</h4>';
   tmp+='<table class="partien s_'+saison+' r_'+runde+' t_'+spieltag+'">';
   var partie=0;
 
@@ -304,7 +304,7 @@ function grpPartien( date,steps,saison,runde,spieltag,Bg ){
         } else {
           if( St > 0 ){
             var anker=St;
-            setTimeout( function(){ window.location.href='#st'+anker; },500 );
+            setTimeout( function(){ window.location.href='#r'+runde+'st'+anker; },500 );
             St=-1;
           }
           var th='-'; var ta='-'; var dt='<i>'+new Date(date+DAY*steps).toJSON().slice(0,10)+'</i> <sup>'+(steps+LIGASPIELTAG)+'</sup>'; var st=false; done=false; var match='';
-- 
GitLab