瀏覽代碼

Minor fixes for jitsi-meet-new

* use proper context for the function
* remove duplicate line
j8
isymchych 9 年之前
父節點
當前提交
bc2afd7d64
共有 2 個檔案被更改,包括 1 行新增2 行删除
  1. 0
    1
      modules/UI/videolayout/LargeVideo.js
  2. 1
    1
      modules/UI/videolayout/VideoLayout.js

+ 0
- 1
modules/UI/videolayout/LargeVideo.js 查看文件

165
 
165
 
166
     get id () {
166
     get id () {
167
         return getStreamOwnerId(this.stream);
167
         return getStreamOwnerId(this.stream);
168
-        return getStreamId(this.stream);
169
     }
168
     }
170
 
169
 
171
     constructor (onPlay) {
170
     constructor (onPlay) {

+ 1
- 1
modules/UI/videolayout/VideoLayout.js 查看文件

633
         var updateLargeVideo = false;
633
         var updateLargeVideo = false;
634
 
634
 
635
         // Handle LastN/local LastN changes.
635
         // Handle LastN/local LastN changes.
636
-        BottomToolbar.getThumbs().each(function( index, element ) {
636
+        BottomToolbar.getThumbs().each(( index, element ) => {
637
             var resourceJid = getPeerContainerResourceId(element);
637
             var resourceJid = getPeerContainerResourceId(element);
638
 
638
 
639
             // We do not want to process any logic for our own(local) video
639
             // We do not want to process any logic for our own(local) video

Loading…
取消
儲存