From b0d42cac0a503227b714fc307d274816808e8a32 Mon Sep 17 00:00:00 2001 From: Cristina Cochior Date: Thu, 29 Oct 2020 11:32:29 +0100 Subject: [PATCH] clears the name-elements before colophon is shown --- templates/layout.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/layout.html b/templates/layout.html index 0f505bc..6d31c0d 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -317,6 +317,7 @@ var flag = true; var colophonstatus = true; $("#colophon").click(function(){ if (colophonstatus === true) { + $(".name-elements").empty(); $("#colophondiv").css("display","block"); colophonstatus = false; } else { @@ -722,7 +723,7 @@ The HP Research Awards series showcases the work of recipients of the Willem de var audio=document.createElement('audio'); var first=true; $(".download").addEventListener('mousedown',onmousedown); - + function onmousedown(){ if(!first) return; first=false;