mirror of
				https://github.com/cse110-fa22-group29/cse110-fa22-group29.git
				synced 2025-10-30 19:46:49 +00:00 
			
		
		
		
	moved break for delete
This commit is contained in:
		| @@ -86,8 +86,8 @@ function deleteTagsFromStorage(ID, deletedTags) { | |||||||
| 		for(let j in tagArr){ | 		for(let j in tagArr){ | ||||||
| 			if(tagArr[j] == ID){ | 			if(tagArr[j] == ID){ | ||||||
| 				tagArr.splice(j,1); | 				tagArr.splice(j,1); | ||||||
|  | 				break; | ||||||
| 			} | 			} | ||||||
| 			break; |  | ||||||
| 		} | 		} | ||||||
| 		if(tagArr.length != 0){ | 		if(tagArr.length != 0){ | ||||||
| 			localStorage.setItem(tagName, JSON.stringify(tagArr)); | 			localStorage.setItem(tagName, JSON.stringify(tagArr)); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user