Use success class for askForName setting

master
Daniel Berteaud 11 years ago
parent 37ef2240f9
commit f7c22254b3
  1. 2
      public/js/vroom.js

@ -1200,7 +1200,7 @@ function initVroom(room) {
}, },
success: function(data) { success: function(data) {
if (data.status == 'success'){ if (data.status == 'success'){
$.notify(data.msg, 'info'); $.notify(data.msg, 'success');
if (type === 'set'){ if (type === 'set'){
$('#askForNameLabel').addClass('btn-danger active'); $('#askForNameLabel').addClass('btn-danger active');
} }

Loading…
Cancel
Save