make ner.edit to not act on empty urls

pull/39/head
Kai Labusch 5 years ago
parent 692e990fba
commit f069419064

@ -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…
Cancel
Save