Allow Page Title Override

This commit is contained in:
Patrick Boyd 2018-07-01 16:39:24 -05:00
parent 5b28517c71
commit 68fa8163d7

View file

@ -62,6 +62,10 @@
$('#sliders').empty(); $('#sliders').empty();
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) {
@ -151,4 +155,4 @@
</div> </div>
</div> </div>
</body> </body>
</html> </html>