Also change page title for nicer history.

This commit is contained in:
Kevin Dungs 2014-11-18 11:22:54 +01:00
parent 4f90b5dc04
commit c3d518a68d
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}
});
};