Update index.html.erb
This commit is contained in:
parent
5fa9a5eb93
commit
1ad634202b
|
@ -1,7 +1,7 @@
|
||||||
<script src="https://kit.fontawesome.com/1fa49cfdc9.js" crossorigin="anonymous"></script>
|
<script src="https://kit.fontawesome.com/1fa49cfdc9.js" crossorigin="anonymous"></script>
|
||||||
<script>
|
<script>
|
||||||
function MergeUrl(){
|
function MergeUrl(){
|
||||||
var tem_url = location.href
|
var temp_url = location.href
|
||||||
if (temp_url.search("locale=")!=-1){
|
if (temp_url.search("locale=")!=-1){
|
||||||
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)
|
||||||
|
|
Loading…
Reference in New Issue