Merge pull request #53 from pboyd04/AllowPageTitleOverride
Allow Page Title Override
This commit is contained in:
commit
fa0e78c5b7
1 changed files with 4 additions and 0 deletions
|
@ -63,6 +63,10 @@
|
||||||
setup = msg.setup
|
setup = msg.setup
|
||||||
devices = msg.devices
|
devices = msg.devices
|
||||||
|
|
||||||
|
if(setup.title !== undefined) {
|
||||||
|
document.title = setup.title;
|
||||||
|
}
|
||||||
|
|
||||||
/* preset buttons */
|
/* preset buttons */
|
||||||
for(var preset in setup.presets) {
|
for(var preset in setup.presets) {
|
||||||
var html = '<button class="span2 btn btn-info">' + setup.presets[preset].label + '</button>';
|
var html = '<button class="span2 btn btn-info">' + setup.presets[preset].label + '</button>';
|
||||||
|
|
Loading…
Reference in a new issue