1
0
Fork 0
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:
Kai Labusch 2019-10-31 16:10:24 +01:00
parent 692e990fba
commit f069419064

View file

@ -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);
}