From 7879fab16e831e028267c9a0959195a0f4fd0061 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Sun, 18 May 2014 23:13:38 +0200 Subject: [PATCH] Remove the ownerActions div from other owner's preview As those feature are disabled anyway --- public/js/vroom.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/js/vroom.js b/public/js/vroom.js index 4a2aade..9c09382 100644 --- a/public/js/vroom.js +++ b/public/js/vroom.js @@ -186,6 +186,7 @@ function initVroom(room) { peers[id].role = data.role; if (data.role == 'owner'){ $("#overlay_" + id).append('
'); + $("#ownerActions_" + id).remove(); } else{ $('#owner_' + id).remove();