* fix the error of change lang or theme under ie.

This commit is contained in:
wangchunsheng
2012-05-01 15:09:34 +00:00
parent b2f5ab1ef9
commit efd32b775d
+1 -1
View File
@@ -406,7 +406,7 @@ function selectTheme(theme)
function removeAnchor(url)
{
pos = url.indexOf('#');
if(pos) return url.substring(0, pos);
if(pos > 0) return url.substring(0, pos);
return url;
}