From a698deb63597ede481e767e46d3fb4de63849ff9 Mon Sep 17 00:00:00 2001 From: zahra Date: Wed, 25 Mar 2020 04:26:20 -0700 Subject: [PATCH] Fixed url problem in the related-texts buttons --- app/views/catalog/_related_texts_toolbar.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/catalog/_related_texts_toolbar.html.erb b/app/views/catalog/_related_texts_toolbar.html.erb index 33fd11a2..4b36cb2e 100644 --- a/app/views/catalog/_related_texts_toolbar.html.erb +++ b/app/views/catalog/_related_texts_toolbar.html.erb @@ -3,7 +3,7 @@ text_capabilities = get_text_capabilities (@document[:capabilities_ssi]) text_capabilities.each do |title, url| - javascript_url = "this.href='#{url}'" + javascript_url = "#{url}" classes = '' if title == text_capabilities_type classes = 'active'