From a3a27779845a476d4ab53b2b60292626b3c37398 Mon Sep 17 00:00:00 2001 From: Syphax Date: Mon, 18 Nov 2024 14:17:31 +0100 Subject: [PATCH] fix showing duplicate mapping table --- app/assets/javascripts/bp_mappings.js.erb | 2 -- app/views/mappings/_count.html.haml | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/app/assets/javascripts/bp_mappings.js.erb b/app/assets/javascripts/bp_mappings.js.erb index 1baa09ac9..b9b5bc721 100644 --- a/app/assets/javascripts/bp_mappings.js.erb +++ b/app/assets/javascripts/bp_mappings.js.erb @@ -63,7 +63,6 @@ function loadMappings(value) { } ] }); - jQuery(".mappings.index a.facebox").facebox(); }); } @@ -144,4 +143,3 @@ function deleteMappings() { } }); } - diff --git a/app/views/mappings/_count.html.haml b/app/views/mappings/_count.html.haml index 4bfc4eefa..c8c4acc04 100644 --- a/app/views/mappings/_count.html.haml +++ b/app/views/mappings/_count.html.haml @@ -14,7 +14,7 @@ %td = link_to(mapping_count[:target_ontology][:name], mapping_path(id: @ontology.acronym, target: mapping_count[:target_ontology][:id]), - class: 'facebox') + class: 'facebox', 'data-turbo': false) %td = number_with_delimiter(mapping_count[:count], delimiter: ',')