From cf54fc15486e811975cb8839e492d30abf9e7a68 Mon Sep 17 00:00:00 2001 From: Cristina Cochior Date: Thu, 29 Oct 2020 17:24:28 +0100 Subject: [PATCH] fixed bug with showall and colophon --- templates/layout.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/layout.html b/templates/layout.html index a064680..e3cace6 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -216,8 +216,12 @@ var flag = true; $("#showall").click(function(event){ + if (flag === true) { $(".name-elements").empty(); + $(".main-column-right").css("background","#8048b7"); + $("#colophondiv").css("display","none"); + colophonstatus = true; $('.file-names-container span').each(function () { var current = $(this).attr('id'); $.getJSON('{{ url_for('static', filename='js/mergedjson.json') }}', function(test) {