diff --git a/static/ontology/index.js b/static/ontology/index.js index 000b06e..4594392 100644 --- a/static/ontology/index.js +++ b/static/ontology/index.js @@ -153,10 +153,11 @@ function click(d) { } if (!d.children && ! d._children) { var name = d.parent.name + ': ' + d.name + var url = '/clip/created/keywords=' + name if (d.parent.name == 'other') { - name = d.name + url = '/clip/created/keywords==' + d.name } - window.open('/clip/created/keywords=' + name, '_blank'); + window.open(url, '_blank'); } update(d); }