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'); } }