From 2461067ec7ffbe21ff7394194ab0ca84a0cf0938 Mon Sep 17 00:00:00 2001 From: Marius BALTEANU Date: Tue, 16 Mar 2021 23:07:18 +0200 Subject: [PATCH 2/2] Always show journals with thumbnails in notes tab --- public/javascripts/application.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/public/javascripts/application.js b/public/javascripts/application.js index b322efc1e..164683bca 100644 --- a/public/javascripts/application.js +++ b/public/javascripts/application.js @@ -367,8 +367,13 @@ function showIssueHistory(journal, url) { tab_content.find('.journal').show(); tab_content.find('.journal:not(.has-notes)').hide(); tab_content.find('.journal .wiki').show(); - tab_content.find('.journal .thumbnails').show(); tab_content.find('.journal .contextual .journal-actions').show(); + + // always show thumbnails in notes tab + var thumbnails = tab_content.find('.journal .thumbnails'); + thumbnails.show(); + // show journals without notes, but with thumbnails + thumbnails.parents('.journal').show(); break; case 'properties': tab_content.find('.journal').show(); -- 2.22.0