diff --git a/app/views/admin/journal_papers/index.html.erb b/app/views/admin/journal_papers/index.html.erb index 58f31bc..e59d4b1 100644 --- a/app/views/admin/journal_papers/index.html.erb +++ b/app/views/admin/journal_papers/index.html.erb @@ -6,7 +6,7 @@ function MergeUrl(){ var tp=temp_url.lastIndexOf('/') 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" } else{