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) {
if (data.status == 'success'){
$.notify(data.msg, 'info');
$.notify(data.msg, 'success');
if (type === 'set'){
$('#askForNameLabel').addClass('btn-danger active');
}

Loading…
Cancel
Save