Update index.html.erb

This commit is contained in:
chiu 2019-11-01 17:23:37 +08:00
parent 35f8a78bd4
commit 056bce83f8
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ function MergeUrl(){
var tp=temp_url.lastIndexOf('/') var tp=temp_url.lastIndexOf('/')
location.href = temp_url.substring(0,tp+1)+"merge/"+temp_url.substring(tp+1) location.href = temp_url.substring(0,tp+1)+"merge/"+temp_url.substring(tp+1)
} }
else if (temp_url.slice(-1)!='/'){ else if (temp_url.slice(-1)=='/'){
location.href = location.href + "merge" location.href = location.href + "merge"
} }
else{ else{