From dde00417ba440cb6b3db7f210c9deebdb3b1c6ee Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 21 May 2014 18:17:46 +0200 Subject: [PATCH] Remove warning in vroom.js --- public/js/vroom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/vroom.js b/public/js/vroom.js index 8f45e3b..d853431 100644 --- a/public/js/vroom.js +++ b/public/js/vroom.js @@ -844,7 +844,7 @@ function initVroom(room) { if (data.status == 'success' && data.msg){ $.notify(data.msg, 'success'); } - else{ + else if (data.msg){ $.notify(data.msg, 'error'); } }