mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Moved SoundCloud api-key out to different config file and fixed some list-naming issues that was caused with filter.clean was performed after list-name was encoded. Closes #362
This commit is contained in:
@@ -31,8 +31,12 @@ $(document).on("click", "#refresh_all", function(e){
|
||||
function decodeChannelName(str) {
|
||||
var _fn = decodeURIComponent;
|
||||
str = str.toUpperCase();
|
||||
var toReturn = _fn(str.replace(/%5F/g, "_"));
|
||||
return toReturn.toLowerCase();
|
||||
try {
|
||||
var toReturn = _fn(str.replace(/%5F/g, "_"));
|
||||
return toReturn.toLowerCase();
|
||||
} catch(e) {
|
||||
return str.toLowerCase();
|
||||
}
|
||||
}
|
||||
|
||||
socket.on("spread_listeners", function(obj){
|
||||
|
||||
Reference in New Issue
Block a user