From b8904d8ad51e6fd6409059028cea83bc40a60eb7 Mon Sep 17 00:00:00 2001 From: kaheetonaa <61049296+kaheetonaa@users.noreply.github.com> Date: Mon, 28 Oct 2024 14:14:35 +0100 Subject: [PATCH] clean code --- redirect.html | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/redirect.html b/redirect.html index 03ca0e3..50acddb 100644 --- a/redirect.html +++ b/redirect.html @@ -86,25 +86,21 @@ let newHash="#"; let taskcode=result['comment'].replace('%23hotosm-project-',''); if (hashTags) { + result['locale']=team.value; switch(team.value){ case 'it': - result['locale']='it'; result['comment']=result['comment']+'#euthMappers'+'#teamItaly' break; case 'pt': - result['locale']='pt'; result['comment']=result['comment']+'#euthMappers'+'#teamPortugal' break; case 'sk': - result['locale']='sk'; result['comment']=result['comment']+'#euthMappers'+'#teamSlovakia' break; case 'es': - result['locale']='es'; result['comment']=result['comment']+'#euthMappers'+'#teamSpain' break; case 'ro': - result['locale']='ro'; result['comment']=result['comment']+'#euthMappers'+'#teamRomania' break; }