Selaa lähdekoodia

Minor fixes for jitsi-meet-new

* use proper context for the function
* remove duplicate line
j8
isymchych 9 vuotta sitten
vanhempi
commit
bc2afd7d64
2 muutettua tiedostoa jossa 1 lisäystä ja 2 poistoa
  1. 0
    1
      modules/UI/videolayout/LargeVideo.js
  2. 1
    1
      modules/UI/videolayout/VideoLayout.js

+ 0
- 1
modules/UI/videolayout/LargeVideo.js Näytä tiedosto

@@ -165,7 +165,6 @@ class VideoContainer extends LargeContainer {
165 165
 
166 166
     get id () {
167 167
         return getStreamOwnerId(this.stream);
168
-        return getStreamId(this.stream);
169 168
     }
170 169
 
171 170
     constructor (onPlay) {

+ 1
- 1
modules/UI/videolayout/VideoLayout.js Näytä tiedosto

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

Loading…
Peruuta
Tallenna