Fix room links

Room links were broken by a mistake in the port number detection
commit.
This commit is contained in:
Guangcong Luo 2013-09-18 00:03:07 -05:00
parent 9c55f485b5
commit a171908cec

View File

@ -323,7 +323,7 @@ var Tools = {
var onclick;
var r = new RegExp('^https?://' +
document.location.hostname.replace(/\./g, '\\.') +
'(\\:[0-9]+)?/([a-zA-Z0-9-]+)$');
'/([a-zA-Z0-9-]+)$');
var m = r.exec(fulluri);
if (m) {
onclick = "return selectTab('" + m[1] + "');";