Add formatting tweak to index.js
This commit is contained in:
		
							parent
							
								
									7baa986a30
								
							
						
					
					
						commit
						77359ba3a7
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -20,7 +20,7 @@ async function listSeasons() {
 | 
			
		|||
 | 
			
		||||
    seasonsList.forEach(season => {
 | 
			
		||||
        const option = document.createElement('option');
 | 
			
		||||
        option.text = season.year - 1 + "-" + season.year;
 | 
			
		||||
        option.text = (season.year - 1) + "-" + season.year;
 | 
			
		||||
        option.value = season.id;
 | 
			
		||||
        seasonDropdown.appendChild(option);
 | 
			
		||||
    });
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue