From a19f61700609c551c4577760212fffff1d1cf99d Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 16 Sep 2015 17:17:18 +0200 Subject: [PATCH] Fix hiding password fields when opening the config modal --- public/js/vroom.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/js/vroom.js b/public/js/vroom.js index b8f1d71..04344f9 100644 --- a/public/js/vroom.js +++ b/public/js/vroom.js @@ -426,6 +426,7 @@ function getRoomInfo(cb){ $('#askForNameSet').bootstrapSwitch('state', data.ask_for_name); $('#joinPassSet').bootstrapSwitch('state', data.join_auth); $('#ownerPassSet').bootstrapSwitch('state', data.owner_auth); + $('#joinPassFields,#ownerPassFields').hide(); // exec a callback if needed if (typeof cb === 'function'){ cb();