mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Moved some settings to a separate accordion to gather stuff mroe
This commit is contained in:
@@ -179,7 +179,9 @@ var Channel = {
|
||||
}
|
||||
if(!Helper.mobilecheck() && (document.querySelectorAll("#alreadychannel").length === 0 || !Hostcontroller.old_id || document.getElementById("code-text").innerText.toUpperCase() == "ABBADUR")) setup_host_initialization();
|
||||
setup_suggested_listener();
|
||||
if(!Helper.mobilecheck()) Helper.removeClass(".intelligent-accordion", "hide-on-small-only");
|
||||
if(!Helper.mobilecheck()) {
|
||||
showOnSmallNotMobile();
|
||||
}
|
||||
if(document.querySelectorAll("#alreadychannel").length === 0 || Helper.mobilecheck()){
|
||||
setup_now_playing_listener();
|
||||
get_list_listener();
|
||||
|
||||
@@ -611,6 +611,13 @@ function loadChromecastVideo() {
|
||||
});
|
||||
}
|
||||
|
||||
function showOnSmallNotMobile() {
|
||||
var elements = document.querySelectorAll(".hide-on-mobile-only");
|
||||
for(var i = 0; i < elements.length; i++) {
|
||||
Helper.removeClass(elements[i], "hide-on-small-only");
|
||||
}
|
||||
}
|
||||
|
||||
function enable_intelligent_list() {
|
||||
if(Crypt.get_intelligent_list_enabled()) {
|
||||
intelligentList = true;
|
||||
|
||||
Reference in New Issue
Block a user