mirror of https://github.com/calzoneman/sync.git
Fix question marks breaking channel joins
This commit is contained in:
parent
ece32dda5d
commit
002dadd67a
|
@ -494,7 +494,7 @@ $("#shuffleplaylist").click(function() {
|
||||||
/* load channel */
|
/* load channel */
|
||||||
|
|
||||||
var loc = document.location+"";
|
var loc = document.location+"";
|
||||||
var m = loc.match(/\/r\/([a-zA-Z0-9-_#]+)$/);
|
var m = loc.match(/\/r\/([a-zA-Z0-9-_]+)/);
|
||||||
if(m) {
|
if(m) {
|
||||||
CHANNEL.name = m[1];
|
CHANNEL.name = m[1];
|
||||||
if (CHANNEL.name.indexOf("#") !== -1) {
|
if (CHANNEL.name.indexOf("#") !== -1) {
|
||||||
|
|
Loading…
Reference in New Issue