Update index.html.erb

This commit is contained in:
chiu 2019-11-01 17:22:05 +08:00
parent 5fa9a5eb93
commit 1ad634202b
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<script src="https://kit.fontawesome.com/1fa49cfdc9.js" crossorigin="anonymous"></script>
<script>
function MergeUrl(){
var tem_url = location.href
var temp_url = location.href
if (temp_url.search("locale=")!=-1){
var tp=temp_url.lastIndexOf('/')
location.href = temp_url.substring(0,tp+1)+"merge/"+temp_url.substring(tp+1)