[TASK] Title tag - details first
This commit is contained in:
parent
c28840f3f5
commit
5fe56a3bf5
@ -6,10 +6,10 @@ define(function () {
|
|||||||
var title = [config.siteName];
|
var title = [config.siteName];
|
||||||
|
|
||||||
if (d !== undefined) {
|
if (d !== undefined) {
|
||||||
title.push(d);
|
title.unshift(d);
|
||||||
}
|
}
|
||||||
|
|
||||||
document.title = title.join(': ');
|
document.title = title.join(' - ');
|
||||||
}
|
}
|
||||||
|
|
||||||
this.resetView = function resetView() {
|
this.resetView = function resetView() {
|
||||||
@ -21,7 +21,7 @@ define(function () {
|
|||||||
};
|
};
|
||||||
|
|
||||||
this.gotoLink = function gotoLink(d) {
|
this.gotoLink = function gotoLink(d) {
|
||||||
setTitle((d.source.node ? d.source.node.nodeinfo.hostname : d.source.id) + ' – ' + d.target.node.nodeinfo.hostname);
|
setTitle((d.source.node ? d.source.node.nodeinfo.hostname : d.source.id) + ' \u21D4 ' + d.target.node.nodeinfo.hostname);
|
||||||
};
|
};
|
||||||
|
|
||||||
this.gotoLocation = function gotoLocation() {
|
this.gotoLocation = function gotoLocation() {
|
||||||
|
Loading…
Reference in New Issue
Block a user