exact match for other

This commit is contained in:
j 2018-08-10 14:36:25 +01:00
parent 8e04ccaec0
commit 39b2930ce4
1 changed files with 3 additions and 2 deletions

View File

@ -153,10 +153,11 @@ function click(d) {
} }
if (!d.children && ! d._children) { if (!d.children && ! d._children) {
var name = d.parent.name + ': ' + d.name var name = d.parent.name + ': ' + d.name
var url = '/clip/created/keywords=' + name
if (d.parent.name == 'other') { 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); update(d);
} }