|
@@ -1,5 +1,4 @@
|
1
|
|
-/* global $, APP, JitsiMeetJS */
|
2
|
|
-/* jshint -W101 */
|
|
1
|
+/* global $, APP, JitsiMeetJS, interfaceConfig */
|
3
|
2
|
import Avatar from "../avatar/Avatar";
|
4
|
3
|
import UIUtil from "../util/UIUtil";
|
5
|
4
|
import UIEvents from "../../../service/UI/UIEvents";
|
|
@@ -222,7 +221,7 @@ SmallVideo.prototype.getAudioMutedIndicator = function () {
|
222
|
221
|
|
223
|
222
|
audioMutedSpan = document.createElement('span');
|
224
|
223
|
audioMutedSpan.className = 'audioMuted toolbar-icon';
|
225
|
|
-
|
|
224
|
+
|
226
|
225
|
UIUtil.setTooltip(audioMutedSpan,
|
227
|
226
|
"videothumbnail.mute",
|
228
|
227
|
"top");
|
|
@@ -277,11 +276,11 @@ SmallVideo.prototype.getVideoMutedIndicator = function () {
|
277
|
276
|
|
278
|
277
|
var mutedIndicator = document.createElement('i');
|
279
|
278
|
mutedIndicator.className = 'icon-camera-disabled';
|
280
|
|
-
|
|
279
|
+
|
281
|
280
|
UIUtil.setTooltip(mutedIndicator,
|
282
|
281
|
"videothumbnail.videomute",
|
283
|
282
|
"top");
|
284
|
|
-
|
|
283
|
+
|
285
|
284
|
videoMutedSpan.appendChild(mutedIndicator);
|
286
|
285
|
|
287
|
286
|
return $('#' + this.videoSpanId + ' .videoMuted');
|
|
@@ -291,6 +290,8 @@ SmallVideo.prototype.getVideoMutedIndicator = function () {
|
291
|
290
|
* Creates the element indicating the moderator(owner) of the conference.
|
292
|
291
|
*/
|
293
|
292
|
SmallVideo.prototype.createModeratorIndicatorElement = function () {
|
|
293
|
+ // don't create moderator indicator if DISABLE_FOCUS_INDICATOR is true
|
|
294
|
+ if (interfaceConfig.DISABLE_FOCUS_INDICATOR) return false;
|
294
|
295
|
// Show moderator indicator
|
295
|
296
|
var indicatorSpan = $('#' + this.videoSpanId + ' .focusindicator');
|
296
|
297
|
|