Use warn class to notify that the room isn't persistent

master
Daniel Berteaud 11 years ago
parent 98df867f7c
commit a02ac71159
  1. 2
      public/js/vroom.js

@ -1693,7 +1693,7 @@ function initVroom(room) {
success: function(data) { success: function(data) {
$('#ownerPass').val(''); $('#ownerPass').val('');
if (data.status == 'success'){ if (data.status == 'success'){
$.notify(data.msg, 'success'); $.notify(data.msg, 'warn');
webrtc.sendToAll('owner_password', {action: 'remove'}); webrtc.sendToAll('owner_password', {action: 'remove'});
$('#persistentLabel').removeClass('btn-danger active'); $('#persistentLabel').removeClass('btn-danger active');
} }

Loading…
Cancel
Save