fix conflicts after rebase

This commit is contained in:
Ilya Daynatovich 2016-10-26 15:18:48 +03:00 committed by damencho
parent 09e3fb9917
commit 323684c5fe
4 changed files with 8 additions and 8 deletions

View File

@ -280,6 +280,7 @@
font-size: 8pt;
text-align: center;
line-height: $thumbnailToolbarHeight;
display: none;
padding: 0;
margin-right: 5px;
float: left;

View File

@ -406,7 +406,7 @@ const TOOLTIP_POSITIONS = {
getVideoThumbnailIndicatorSpan(opts = {}) {
let indicatorId = opts.indicatorId;
let videoSpanId = opts.videoSpanId;
let indicators = $(`#${videoSpanId} #${indicatorId}]`);
let indicators = $(`#${videoSpanId} [id="${indicatorId}"]`);
let indicatorSpan;
if (indicators.length <= 0) {

View File

@ -267,13 +267,12 @@ ConnectionIndicator.prototype.create = function () {
videoSpanId: this.videoContainer.videoSpanId,
indicatorId
});
element.classList.add('hide');
this.connectionIndicatorContainer = element;
let popoverContent = (
`<div class="connection-info" data-i18n="${indicatorId}.na"></div>`
);
this.popover = new JitsiPopover(element, {
this.popover = new JitsiPopover($(element), {
content: popoverContent,
skin: "black",
onBeforePosition: el => APP.translation.translateElement(el)

View File

@ -1,4 +1,4 @@
/* global $, APP, JitsiMeetJS, interfaceConfig */
/* global $, JitsiMeetJS, interfaceConfig */
import Avatar from "../avatar/Avatar";
import UIUtil from "../util/UIUtil";
import UIEvents from "../../../service/UI/UIEvents";
@ -506,9 +506,9 @@ SmallVideo.prototype.showDominantSpeakerIndicator = function (show) {
});
if (show) {
indicatorSpan.classList.add('hide');
indicatorSpan.classList.add('show');
} else {
indicatorSpan.classList.remove('hide')
indicatorSpan.classList.remove('show');
}
};
@ -532,9 +532,9 @@ SmallVideo.prototype.showRaisedHandIndicator = function (show) {
});
if (show) {
indicatorSpan.classList.add('hide');
indicatorSpan.classList.add('show');
} else {
indicatorSpan.classList.remove('hide')
indicatorSpan.classList.remove('show');
}
};