From c23b133fdcc4bb0f21d9bb87310a1058c8a4537e Mon Sep 17 00:00:00 2001 From: winlin Date: Thu, 26 Dec 2013 09:18:03 +0800 Subject: [PATCH] support query in index.html --- trunk/research/players/index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/trunk/research/players/index.html b/trunk/research/players/index.html index f313891e7..c13f06e73 100755 --- a/trunk/research/players/index.html +++ b/trunk/research/players/index.html @@ -18,7 +18,9 @@ update_nav(); // direct to the default vhost for players. - window.location.href = "srs_chat.html?" + "&vhost=" + srs_get_player_vhost() + window.location.search ; + var query = "" + window.location.search; + query = query.substr(1); + window.location.href = "srs_chat.html?" + "vhost=" + srs_get_player_vhost() + "&" + query; });