添加hiwater作为data部分

This commit is contained in:
wlx 2013-04-09 02:30:36 +00:00
parent a22b71e260
commit 9ea82bbb44
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ function extractPageName(hrefString)
{
var arr = hrefString.split('/');
var result=(arr.length<3) ? hrefString : arr[3].toLowerCase();
if (result=='water' || result=='heihe' || result=='glacier' || result=='yrnmr') result='data';
if (result=='water' || result=='heihe' || result=='glacier' || result=='yrnmr' || result=='hiwater') result='data';
if (result=='admin' && arr.length>=4) result+="/"+arr[4];
return result;
}