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);