Changed so accordion for intelligent-playlist is not hidden on small player on desktops

This commit is contained in:
Kasper Rynning-Tønnesen
2018-10-29 14:29:41 +01:00
parent 6443974c7a
commit 73cec39de0
2 changed files with 6 additions and 5 deletions

View File

@@ -179,6 +179,7 @@ var Channel = {
} }
if(!Helper.mobilecheck() && (document.querySelectorAll("#alreadychannel").length === 0 || !Hostcontroller.old_id || document.getElementById("code-text").innerText.toUpperCase() == "ABBADUR")) setup_host_initialization(); if(!Helper.mobilecheck() && (document.querySelectorAll("#alreadychannel").length === 0 || !Hostcontroller.old_id || document.getElementById("code-text").innerText.toUpperCase() == "ABBADUR")) setup_host_initialization();
setup_suggested_listener(); setup_suggested_listener();
if(!Helper.mobilecheck()) Helper.removeClass(".intelligent-accordion", "hide-on-small-only");
if(document.querySelectorAll("#alreadychannel").length === 0 || Helper.mobilecheck()){ if(document.querySelectorAll("#alreadychannel").length === 0 || Helper.mobilecheck()){
setup_now_playing_listener(); setup_now_playing_listener();
get_list_listener(); get_list_listener();

View File

@@ -25,7 +25,7 @@
</ul> </ul>
</div> </div>
</li> </li>
<li class="no-padding hide-on-small-only"> <li class="no-padding hide-on-small-only intelligent-accordion">
<div class="collapsible-header bold waves-effect">Intelligent Playlist <div class="collapsible-header bold waves-effect">Intelligent Playlist
<i class="material-icons">sentiment_satisfied_alt</i> <i class="material-icons">sentiment_satisfied_alt</i>
</div> </div>