mirror of
https://github.com/qurator-spk/neat.git
synced 2025-06-11 12:49:53 +02: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