Remove the ownerActions div from other owner's preview

As those feature are disabled anyway
master
Daniel Berteaud 11 years ago
parent 5ae54e003e
commit 7879fab16e
  1. 1
      public/js/vroom.js

@ -186,6 +186,7 @@ function initVroom(room) {
peers[id].role = data.role; peers[id].role = data.role;
if (data.role == 'owner'){ if (data.role == 'owner'){
$("#overlay_" + id).append('<div id="owner_' + id + '" class="owner"></div>'); $("#overlay_" + id).append('<div id="owner_' + id + '" class="owner"></div>');
$("#ownerActions_" + id).remove();
} }
else{ else{
$('#owner_' + id).remove(); $('#owner_' + id).remove();

Loading…
Cancel
Save