From 2cf278e25b68510ed7264e2db4917a0a86f97f81 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Fri, 23 May 2014 22:55:42 +0200 Subject: [PATCH] Fix handling our own screen preview --- public/js/vroom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/vroom.js b/public/js/vroom.js index a44444d..c5a4458 100644 --- a/public/js/vroom.js +++ b/public/js/vroom.js @@ -456,7 +456,7 @@ function initVroom(room) { }); // Simple click put this preview in the mainVideo div $(video).click(function() { - handlePreviewClick($(this), peer.id); + handlePreviewClick($(this), id); }); // Now display the div div.show(200);