mirror of
				https://github.com/qurator-spk/neat.git
				synced 2025-10-30 16:24:12 +01:00 
			
		
		
		
	make ner.edit to not act on empty urls
This commit is contained in:
		
							parent
							
								
									692e990fba
								
							
						
					
					
						commit
						f069419064
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -31,6 +31,9 @@ function setupInterface(data, file) { | |||
| 
 | ||||
|         console.log(img_url); | ||||
| 
 | ||||
|         if (img_url == "http://empty") | ||||
|             return | ||||
| 
 | ||||
|         $("#preview").attr("src", img_url); | ||||
|         $("#preview-link").attr("href", img_url); | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue