浏览代码

fix conflicts after rebase

master
Ilya Daynatovich 8 年前
父节点
当前提交
323684c5fe

+ 1
- 0
css/_videolayout_default.scss 查看文件

280
     font-size: 8pt;
280
     font-size: 8pt;
281
     text-align: center;
281
     text-align: center;
282
     line-height: $thumbnailToolbarHeight;
282
     line-height: $thumbnailToolbarHeight;
283
+    display: none;
283
     padding: 0;
284
     padding: 0;
284
     margin-right: 5px;
285
     margin-right: 5px;
285
     float: left;
286
     float: left;

+ 1
- 1
modules/UI/util/UIUtil.js 查看文件

406
     getVideoThumbnailIndicatorSpan(opts = {}) {
406
     getVideoThumbnailIndicatorSpan(opts = {}) {
407
         let indicatorId = opts.indicatorId;
407
         let indicatorId = opts.indicatorId;
408
         let videoSpanId = opts.videoSpanId;
408
         let videoSpanId = opts.videoSpanId;
409
-        let indicators = $(`#${videoSpanId} #${indicatorId}]`);
409
+        let indicators = $(`#${videoSpanId} [id="${indicatorId}"]`);
410
         let indicatorSpan;
410
         let indicatorSpan;
411
 
411
 
412
         if (indicators.length <= 0) {
412
         if (indicators.length <= 0) {

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

267
         videoSpanId: this.videoContainer.videoSpanId,
267
         videoSpanId: this.videoContainer.videoSpanId,
268
         indicatorId
268
         indicatorId
269
     });
269
     });
270
-    element.classList.add('hide');
271
     this.connectionIndicatorContainer = element;
270
     this.connectionIndicatorContainer = element;
272
 
271
 
273
     let popoverContent = (
272
     let popoverContent = (
274
         `<div class="connection-info" data-i18n="${indicatorId}.na"></div>`
273
         `<div class="connection-info" data-i18n="${indicatorId}.na"></div>`
275
     );
274
     );
276
-    this.popover = new JitsiPopover(element, {
275
+    this.popover = new JitsiPopover($(element), {
277
         content: popoverContent,
276
         content: popoverContent,
278
         skin: "black",
277
         skin: "black",
279
         onBeforePosition: el => APP.translation.translateElement(el)
278
         onBeforePosition: el => APP.translation.translateElement(el)

+ 5
- 5
modules/UI/videolayout/SmallVideo.js 查看文件

1
-/* global $, APP, JitsiMeetJS, interfaceConfig */
1
+/* global $, JitsiMeetJS, interfaceConfig */
2
 import Avatar from "../avatar/Avatar";
2
 import Avatar from "../avatar/Avatar";
3
 import UIUtil from "../util/UIUtil";
3
 import UIUtil from "../util/UIUtil";
4
 import UIEvents from "../../../service/UI/UIEvents";
4
 import UIEvents from "../../../service/UI/UIEvents";
506
     });
506
     });
507
 
507
 
508
     if (show) {
508
     if (show) {
509
-        indicatorSpan.classList.add('hide');
509
+        indicatorSpan.classList.add('show');
510
     } else {
510
     } else {
511
-        indicatorSpan.classList.remove('hide')
511
+        indicatorSpan.classList.remove('show');
512
     }
512
     }
513
 };
513
 };
514
 
514
 
532
     });
532
     });
533
 
533
 
534
     if (show) {
534
     if (show) {
535
-        indicatorSpan.classList.add('hide');
535
+        indicatorSpan.classList.add('show');
536
     } else {
536
     } else {
537
-        indicatorSpan.classList.remove('hide')
537
+        indicatorSpan.classList.remove('show');
538
     }
538
     }
539
 };
539
 };
540
 
540
 

正在加载...
取消
保存