mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 04:51:31 +08:00 
			
		
		
		
	fixed search
This commit is contained in:
		
							parent
							
								
									4459b22552
								
							
						
					
					
						commit
						ae5bba83b1
					
				| @ -219,7 +219,7 @@ function resetSearch() { | ||||
| $("button#reset-search-button").click(resetSearch); | ||||
| 
 | ||||
| $("input[name=search]").keyup(e => { | ||||
|     const searchString = $(this).val(); | ||||
|     const searchString = $("input[name=search]").val(); | ||||
| 
 | ||||
|     if (e && e.which === $.ui.keyCode.ESCAPE || $.trim(searchString) === "") { | ||||
|         $("button#reset-search-button").click(); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 azivner
						azivner