From bc2afd7d64e4e654142c1448ea310856a50ec84c Mon Sep 17 00:00:00 2001 From: isymchych Date: Tue, 26 Jan 2016 13:50:33 +0200 Subject: [PATCH] Minor fixes for jitsi-meet-new * use proper context for the function * remove duplicate line --- modules/UI/videolayout/LargeVideo.js | 1 - modules/UI/videolayout/VideoLayout.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/UI/videolayout/LargeVideo.js b/modules/UI/videolayout/LargeVideo.js index 703d73e078..fe512895e3 100644 --- a/modules/UI/videolayout/LargeVideo.js +++ b/modules/UI/videolayout/LargeVideo.js @@ -165,7 +165,6 @@ class VideoContainer extends LargeContainer { get id () { return getStreamOwnerId(this.stream); - return getStreamId(this.stream); } constructor (onPlay) { diff --git a/modules/UI/videolayout/VideoLayout.js b/modules/UI/videolayout/VideoLayout.js index f3cb7540e1..4496c07b3f 100644 --- a/modules/UI/videolayout/VideoLayout.js +++ b/modules/UI/videolayout/VideoLayout.js @@ -633,7 +633,7 @@ var VideoLayout = { var updateLargeVideo = false; // Handle LastN/local LastN changes. - BottomToolbar.getThumbs().each(function( index, element ) { + BottomToolbar.getThumbs().each(( index, element ) => { var resourceJid = getPeerContainerResourceId(element); // We do not want to process any logic for our own(local) video