Align notif to bottom center for room creation error

master
Daniel Berteaud 11 years ago
parent e56dbad9e6
commit 5c7480a8f0
  1. 5
      public/js/vroom.js

@ -266,7 +266,10 @@ function initIndex(){
$('#conflictModal').modal('show'); $('#conflictModal').modal('show');
} }
else{ else{
$('#roomName').parent().parent().notify(data.msg, 'error'); $('#roomName').parent().parent().notify(data.msg, {
class: 'error',
position: 'bottom center'
});
} }
}, },
error: function(){ error: function(){

Loading…
Cancel
Save