mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
No tap-target in client-mode
- some minor restructuring of if/unless
This commit is contained in:
@@ -167,7 +167,7 @@ var Channel = {
|
||||
emit_list();
|
||||
}
|
||||
|
||||
if((!localStorage.getItem("_jSeen") || localStorage.getItem("_jSeen") != "seen") && !Helper.mobilecheck()) {
|
||||
if(((!localStorage.getItem("_jSeen") || localStorage.getItem("_jSeen") != "seen") && !Helper.mobilecheck()) && !client) {
|
||||
$('.tap-target-join').tapTarget('open');
|
||||
tap_target_timeout = setTimeout(function() {
|
||||
$('.tap-target-join').tapTarget('close');
|
||||
|
||||
@@ -315,7 +315,7 @@ initializeCastApi = function() {
|
||||
$(".volume-container").addClass("volume-container-cast");
|
||||
}
|
||||
cast_ready_connect = true;
|
||||
if(!localStorage.getItem("_chSeen") || localStorage.getItem("_chSeen") != "seen") {
|
||||
if((!localStorage.getItem("_chSeen") || localStorage.getItem("_chSeen") != "seen") && !client) {
|
||||
$(".castButton").css("display", "block");
|
||||
showDiscovery = true;
|
||||
$('.tap-target').tapTarget('open');
|
||||
|
||||
Reference in New Issue
Block a user