mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-08 20:48:48 +00:00
Fixed search crashing in client-mode
This commit is contained in:
@@ -95,8 +95,8 @@ var Channel = {
|
||||
}
|
||||
|
||||
Helper.tabs('.chatTabs');
|
||||
Helper.tabs('.results-tabs');
|
||||
}
|
||||
Helper.tabs('.results-tabs');
|
||||
var sidenavElem = document.getElementsByClassName("sidenav")[0];
|
||||
M.Sidenav.init(sidenavElem, {
|
||||
menuWidth: 310,
|
||||
@@ -259,6 +259,8 @@ var Channel = {
|
||||
if(!client) {
|
||||
window.onYouTubeIframeAPIReady = Player.onYouTubeIframeAPIReady;
|
||||
if(Player.player === "" || Player.player === undefined || Helper.mobilecheck()) Player.loadPlayer();
|
||||
} else {
|
||||
Player.loadSoundCloudPlayer();
|
||||
}
|
||||
//}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user