diff --git a/public/home/search.js b/public/home/search.js index ccd873f28..a5994db58 100644 --- a/public/home/search.js +++ b/public/home/search.js @@ -591,6 +591,9 @@ function setIssueOrPrInnerHtml(data,path){ } function addBlank(url){ + if(url == null){ + return url; + } var tmps = url.split("/"); if(tmps.length == 2){ return tmps[0] + " / " + tmps[1]; @@ -1254,7 +1257,7 @@ var zhCN={ "search_last_page":"Last", "search_go_to":"Go", "search_go_page":"Page", - "find_title":" \"{keyword}\" related {tablename} maybe {total}", + "find_title":" \"{keyword}\" {total} related {tablename}", "search_empty":"Please enter any keyword to start the search." }