Explorar el Código

fix(filmstrip): create a specific target for local video appending

Instead of targetting a div that contains multiple elements
and risking the elements appearing out of order, create a
specific div for local video to append to.
master
Leonard Kim hace 7 años
padre
commit
4a90e6dc71

+ 1
- 1
modules/UI/videolayout/LocalVideo.js Ver fichero

@@ -22,7 +22,7 @@ function LocalVideo(VideoLayout, emitter) {
22 22
 
23 23
     this.container = this.createContainer();
24 24
     this.$container = $(this.container);
25
-    $('#filmstripLocalVideo').append(this.container);
25
+    $('#filmstripLocalVideoThumbnail').append(this.container);
26 26
 
27 27
     this.localVideoId = null;
28 28
     this.bindHoverHandler();

+ 1
- 0
react/features/filmstrip/components/Filmstrip.web.js Ver fichero

@@ -111,6 +111,7 @@ class Filmstrip extends Component<*> {
111 111
                         onMouseOut = { this._onMouseOut }
112 112
                         onMouseOver = { this._onMouseOver }>
113 113
                         { this.props.filmstripOnly ? null : <InviteButton /> }
114
+                        <div id = 'filmstripLocalVideoThumbnail' />
114 115
                     </div>
115 116
                     <div
116 117
                         className = 'filmstrip__videos'

Loading…
Cancelar
Guardar