Browse Source

clears the name-elements before colophon is shown

master
Cristina Cochior 4 years ago
parent
commit
b0d42cac0a
  1. 3
      templates/layout.html

3
templates/layout.html

@ -317,6 +317,7 @@ var flag = true;
var colophonstatus = true; var colophonstatus = true;
$("#colophon").click(function(){ $("#colophon").click(function(){
if (colophonstatus === true) { if (colophonstatus === true) {
$(".name-elements").empty();
$("#colophondiv").css("display","block"); $("#colophondiv").css("display","block");
colophonstatus = false; colophonstatus = false;
} else { } 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 audio=document.createElement('audio');
var first=true; var first=true;
$(".download").addEventListener('mousedown',onmousedown); $(".download").addEventListener('mousedown',onmousedown);
function onmousedown(){ function onmousedown(){
if(!first) return; if(!first) return;
first=false; first=false;

Loading…
Cancel
Save