mirror of
				https://github.com/cse110-fa22-group29/cse110-fa22-group29.git
				synced 2025-10-30 19:46:49 +00:00 
			
		
		
		
	Merge branch 'filter-sort' of https://github.com/cse110-fa22-group29/cse110-fa22-group29 into filter-sort
This commit is contained in:
		| @@ -97,10 +97,10 @@ function initFormHandler() { | |||||||
| 				let tagLabel = document.createElement("label"); | 				let tagLabel = document.createElement("label"); | ||||||
| 				tagLabel.innerHTML = tagField.value; | 				tagLabel.innerHTML = tagField.value; | ||||||
| 				tagLabel.setAttribute("class","tag"); | 				tagLabel.setAttribute("class","tag"); | ||||||
| 				tagSet.add(tagField.value.toLowerCase()); | 				tagSet.add(tagSetVal); | ||||||
| 				tagLabel.addEventListener("click",()=> { | 				tagLabel.addEventListener("click",()=> { | ||||||
| 					tagContainer.removeChild(tagLabel); | 					tagContainer.removeChild(tagLabel); | ||||||
| 					tagSet.delete(tagField.value.toLowerCase()); | 					tagSet.delete(tagSetVal); | ||||||
| 				}); | 				}); | ||||||
| 		 | 		 | ||||||
| 				tagContainer.append(tagLabel); | 				tagContainer.append(tagLabel); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user