Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Fixes focus indicator tooltip showing when we're not focus.

yanasc32ad97c0a8b
diff --git a/index.html b/index.html
index 5f2eca8725..c197e091d7 100644
--- a/index.html
+++ b/index.html
@@ -39,7 +39,7 @@
<script src="analytics.js?v=1"></script><!-- google analytics plugin -->
<script src="rtp_stats.js?v=1"></script><!-- RTP stats processing -->
<script src="local_stats.js?v=1"></script><!-- Local stats processing -->
- <script src="videolayout.js?v=5"></script><!-- video ui -->
+ <script src="videolayout.js?v=6"></script><!-- video ui -->
<script src="toolbar.js?v=3"></script><!-- toolbar ui -->
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
<link rel="stylesheet" href="css/font.css"/>
@@ -123,7 +123,7 @@
<!--<video id="localVideo" autoplay oncontextmenu="return false;" muted></video> - is now per stream generated -->
</span>
<audio id="localAudio" autoplay oncontextmenu="return false;" muted></audio>
- <span class="focusindicator" data-content="The owner of&#10;this conference" data-toggle="popover" data-placement="top"></span>
+ <span class="focusindicator"></span>
</span>
<audio id="userJoined" src="sounds/joined.wav" preload="auto"></audio>
<audio id="userLeft" src="sounds/left.wav" preload="auto"></audio>
diff --git a/videolayout.js b/videolayout.js
index 7178c31901..8cb2437250 100644
--- a/videolayout.js
+++ b/videolayout.js
@@ -477,9 +477,7 @@ var VideoLayout = (function (my) {
if (!indicatorSpan || indicatorSpan.length === 0) {
indicatorSpan = document.createElement('span');
indicatorSpan.className = 'focusindicator';
- Util.setTooltip(indicatorSpan,
- "The owner of<br/>this conference",
- "top");
+
focusContainer.appendChild(indicatorSpan);
createFocusIndicatorElement(indicatorSpan);
@@ -772,6 +770,10 @@ var VideoLayout = (function (my) {
var focusIndicator = document.createElement('i');
focusIndicator.className = 'fa fa-star';
parentElement.appendChild(focusIndicator);
+
+ Util.setTooltip(parentElement,
+ "The owner of<br/>this conference",
+ "top");
}
/**