fix other links

This commit is contained in:
j 2018-08-10 14:31:48 +01:00
parent 059ac97dd4
commit 8e04ccaec0
1 changed files with 4 additions and 1 deletions

View File

@ -153,7 +153,10 @@ function click(d) {
}
if (!d.children && ! d._children) {
var name = d.parent.name + ': ' + d.name
document.location.href = '/clip/created/keywords=' + name
if (d.parent.name == 'other') {
name = d.name
}
window.open('/clip/created/keywords=' + name, '_blank');
}
update(d);
}