From 056bce83f80b9ad23e41cab25477846856408900 Mon Sep 17 00:00:00 2001 From: chiu Date: Fri, 1 Nov 2019 17:23:37 +0800 Subject: [PATCH] Update index.html.erb --- app/views/admin/journal_papers/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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{