From 35f8a78bd4182daa1b658202b6840810e22716b8 Mon Sep 17 00:00:00 2001 From: chiu Date: Fri, 1 Nov 2019 17:22:59 +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 741d943..58f31bc 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 (tem_url.slice(-1)!='/'){ + else if (temp_url.slice(-1)!='/'){ location.href = location.href + "merge" } else{