diff --git a/public/index.html b/public/index.html index 26a05ce..318c73b 100644 --- a/public/index.html +++ b/public/index.html @@ -53,7 +53,7 @@
- +
@@ -208,7 +208,12 @@ socket.on('title', function(data) { updateHeader(data); }); - + socket.on('demo', function(data) { + if(JSON.parse(data).demo) { + document.getElementById('menu').style.display = 'none'; + } + }); + let selected_tab = "main-tab" window.addEventListener('resize', resize);