[TASK] Title tag - details first

This commit is contained in:
Xaver Maierhofer 2017-04-26 00:43:53 +02:00 committed by Geno
parent c28840f3f5
commit 5fe56a3bf5
1 changed files with 3 additions and 3 deletions

View File

@ -6,10 +6,10 @@ define(function () {
var title = [config.siteName];
if (d !== undefined) {
title.push(d);
title.unshift(d);
}
document.title = title.join(': ');
document.title = title.join(' - ');
}
this.resetView = function resetView() {
@ -21,7 +21,7 @@ define(function () {
};
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() {