fix other links
This commit is contained in:
parent
059ac97dd4
commit
8e04ccaec0
1 changed files with 4 additions and 1 deletions
|
@ -153,7 +153,10 @@ 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
|
||||||
document.location.href = '/clip/created/keywords=' + name
|
if (d.parent.name == 'other') {
|
||||||
|
name = d.name
|
||||||
|
}
|
||||||
|
window.open('/clip/created/keywords=' + name, '_blank');
|
||||||
}
|
}
|
||||||
update(d);
|
update(d);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue