mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fixed String instead of str error in server, and empty channel bug
This commit is contained in:
@@ -736,7 +736,7 @@ function uniqueID(seed, minlen){
|
||||
var id = rndName(seed, len);
|
||||
|
||||
while( contains(unique_ids, id) && len<=8){
|
||||
id = rndName(str(len)+id, len);
|
||||
id = rndName(String(len)+id, len);
|
||||
len += 0.1; // try 10 times at each length
|
||||
}
|
||||
|
||||
|
||||
2
static/dist/main-min.js
vendored
2
static/dist/main-min.js
vendored
File diff suppressed because one or more lines are too long
@@ -9,7 +9,9 @@ var Youtube = {
|
||||
document.getElementById('song-title').innerHTML = "Empty channel. Add some songs!";
|
||||
$("#player_overlay").height($("#player").height());
|
||||
if(!window.mobilecheck()) $("#player_overlay").toggleClass("hide");
|
||||
if(ytplayer !== undefined) ytplayer.stopVideo();
|
||||
try{
|
||||
ytplayer.stopVideo();
|
||||
}catch(e){}
|
||||
//List.importOldList(channel.toLowerCase());
|
||||
}
|
||||
else{
|
||||
|
||||
Reference in New Issue
Block a user