Merge pull request #53 from pboyd04/AllowPageTitleOverride

Allow Page Title Override
This commit is contained in:
Max Stockner 2018-07-09 23:21:36 +02:00 committed by GitHub
commit fa0e78c5b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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>';