From 1b858a8912b814ab872b7b266a219e94204002f4 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 19 May 2014 11:20:36 +0200 Subject: [PATCH] Hide auth menu if the owner password is unset --- public/js/vroom.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/js/vroom.js b/public/js/vroom.js index 41096fb..e5beb36 100644 --- a/public/js/vroom.js +++ b/public/js/vroom.js @@ -161,6 +161,9 @@ function initVroom(room) { if (data.owner_auth == 'yes'){ $('.unauthEl').show(500); } + else{ + $('.unauthEl').hide(500); + } } if (data.locked == 'yes'){ $('#lockLabel').addClass('btn-danger active');