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;
$("#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;

Loading…
Cancel
Save