Skip to content

Commit

Permalink
clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
kaheetonaa authored Oct 28, 2024
1 parent 5aed24d commit b8904d8
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions redirect.html
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit b8904d8

Please sign in to comment.