diff --git a/lib/title.js b/lib/title.js index be92f8d..1602c08 100644 --- a/lib/title.js +++ b/lib/title.js @@ -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() {