From c3d518a68d3450d8e4981e6908a6417c2f7adfa9 Mon Sep 17 00:00:00 2001 From: Kevin Dungs Date: Tue, 18 Nov 2014 11:22:54 +0100 Subject: [PATCH] Also change page title for nicer history. --- static/js/app.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/static/js/app.js b/static/js/app.js index 83e8a50..328ea7c 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -60,6 +60,7 @@ var These3Words = (function () { lng: that.latLng.lng(), label: that.label }, that.label, '/' + that.label); + document.title = 'These3Words: ' + that.label; }; Map.prototype.moveTo = function (latLng) { @@ -72,6 +73,7 @@ var These3Words = (function () { lng: latLng.lng(), label: data.three }, data.three, '/' + data.three); + document.title = 'These3Words: ' + data.three; } }); };