Use let for video_cards assignment.
This commit is contained in:
		
							parent
							
								
									5cde008138
								
							
						
					
					
						commit
						991bafb46e
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -314,7 +314,7 @@ function filter_video_cards(search_term) | ||||||
|     Apply the search filter textbox by hiding the mismatched cards. |     Apply the search filter textbox by hiding the mismatched cards. | ||||||
|     */ |     */ | ||||||
|     let count = 0; |     let count = 0; | ||||||
|     video_cards = document.getElementById("video_cards"); |     let video_cards = document.getElementById("video_cards"); | ||||||
|     video_cards.classList.add("hidden"); |     video_cards.classList.add("hidden"); | ||||||
|     search_term = search_term.toLocaleLowerCase(); |     search_term = search_term.toLocaleLowerCase(); | ||||||
|     let state_class = "video_card_" + STATE; |     let state_class = "video_card_" + STATE; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue