Formatting the title

revert-dabc3590
Dunith Dhanushka 8 years ago committed by GitHub
parent c1de144bcf
commit c6437c3065

@ -54,7 +54,7 @@ function setPageTitle() {
var deviceInfoString = hash.substring(startIdx,lastIdx);
var deviceInfo = JSON.parse(deviceInfoString);
if(deviceInfo) {
var newTitle = " Geo Dashboard - Device ID: " + deviceInfo.device.id + " Type: " + deviceInfo.device.type;
var newTitle = "[ " + deviceInfo.device.id + "]" + " - Geo Dashboard [" + deviceInfo.device.type + "]";
window.parent.document.title = newTitle;
}
}

Loading…
Cancel
Save