This commit is contained in:
huang 2016-06-02 14:59:32 +08:00
parent d532cd3c6c
commit ba344a86b5
2 changed files with 5 additions and 5 deletions

View File

@ -1358,10 +1358,10 @@ function autoUrl(id){
var reStr = full; var reStr = full;
if (full.length > 0){ if (full.length > 0){
if (full.indexOf("://") >= 0){ if (full.indexOf("://") >= 0){
reStr = "<a style='color:#15bccf' target='_Blank' href="+"'"+full+"'"+">"+full+"</a>"; reStr = "<a style='color:#136ec2' target='_Blank' href="+"'"+full+"'"+">"+full+"</a>";
} }
else{ else{
reStr = "<a style='color:#15bccf' target='_Blank' href="+"'http://"+full+"'"+">"+full+"</a>"; reStr = "<a style='color:#136ec2' target='_Blank' href="+"'http://"+full+"'"+">"+full+"</a>";
} }
} }
return reStr ; return reStr ;
@ -1377,10 +1377,10 @@ function autoUrl(id){
var reStr = full; var reStr = full;
if (full.length > 0){ if (full.length > 0){
if (full.indexOf("://") >= 0){ if (full.indexOf("://") >= 0){
reStr = "<a style='color:#15bccf' target='_Blank' href="+"'"+full+"'"+">"+full+"</a>"; reStr = "<a style='color:#136ec2' target='_Blank' href="+"'"+full+"'"+">"+full+"</a>";
} }
else{ else{
reStr = "<a style='color:#15bccf' target='_Blank' href="+"'http://"+full+"'"+">"+full+"</a>"; reStr = "<a style='color:#136ec2' target='_Blank' href="+"'http://"+full+"'"+">"+full+"</a>";
} }
} }
return reStr ; return reStr ;