From 002dadd67a93705b5bd7701ba48efe4cc09bc837 Mon Sep 17 00:00:00 2001 From: Calvin Montgomery Date: Tue, 1 Jul 2014 20:35:13 -0700 Subject: [PATCH] Fix question marks breaking channel joins --- www/js/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/js/ui.js b/www/js/ui.js index f8b6d84a..f0fe47bf 100644 --- a/www/js/ui.js +++ b/www/js/ui.js @@ -494,7 +494,7 @@ $("#shuffleplaylist").click(function() { /* load channel */ var loc = document.location+""; -var m = loc.match(/\/r\/([a-zA-Z0-9-_#]+)$/); +var m = loc.match(/\/r\/([a-zA-Z0-9-_]+)/); if(m) { CHANNEL.name = m[1]; if (CHANNEL.name.indexOf("#") !== -1) {