Fixed issues with window-history and soundcloud.load function

This commit is contained in:
Kasper Rynning-Tønnesen
2018-05-03 19:31:31 +02:00
parent a095e23db0
commit 9442a2093b
12 changed files with 88 additions and 50 deletions

View File

@@ -471,6 +471,7 @@ module.exports = function() {
socket.on('change_channel', function(obj)
{
if(obj == undefined && coll != undefined) {
obj = {};
obj.channel = coll;
} else if(obj.hasOwnProperty("channel") && obj.channel.indexOf("?") > -1){
var _list = obj.channel.substring(0, obj.channel.indexOf("?"));