Tooltip on channel-name

This commit is contained in:
Kasper Rynning-Tønnesen
2018-04-06 13:19:45 +02:00
parent c245ec80ff
commit 1394d6420d
2 changed files with 8 additions and 1 deletions

View File

@@ -176,6 +176,12 @@ var Channel = {
}
if(!Helper.mobilecheck()) {
$("#chan").tooltip({
delay: 5,
position: "bottom",
tooltip: "Show join URL",
});
$("#viewers").tooltip({
delay: 5,
position: "top",
@@ -503,6 +509,7 @@ var Channel = {
$("#embed-button").css("display", "none");
if(!Helper.mobilecheck()) {
$("#chan").tooltip("remove");
$('.castButton').tooltip("remove");
$("#viewers").tooltip("remove");
//$('.castButton-unactive').tooltip("remove");

View File

@@ -6,7 +6,7 @@
<a href="/" class="brand-logo brand-logo-navigate">
<img class="zicon" src="/assets/images/z.svg" alt="zoff-logo" title="Home" />
</a>
<span id="chan" class="chan clickable" title="Show big URL">{{list_name}}</span>
<span id="chan" class="chan clickable">{{list_name}}</span>
</div>
<ul class="title-container">
<li class="song-title cursor-pointer truncate" id="song-title">