\n');
var alt = this.querySelector('img').alt || this.querySelector('img').getAttribute('data-alt');
location.hash = alt.replace(/-/g,'--').replace(/ /g,'-');
entitle(alt);
}
pubs[i].onclick = function () { return false; }
}
}
function more() {
var pubul = document.querySelector('.pubs');
var com = pubul.childNodes[pubul.childNodes.length-1];
var text = new DOMParser().parseFromString(com.textContent,'text/html');
com.parentNode.removeChild(com);
if (text.querySelectorAll('li').length >= 16) {
pubul.insertAdjacentHTML('beforeend',Object.entries(text.querySelectorAll('li')).slice(0,16).map(entry => entry[1].outerHTML).join('\n')+'\n');
} else {
pubul.insertAdjacentHTML('beforeend',Object.entries(text.querySelectorAll('li')).slice(0,text.querySelectorAll('li').length-1).map(entry => entry[1].outerHTML).join('\n'));
document.querySelector('[onmouseup="more();"]').parentNode.parentNode.removeChild(document.querySelector('[onmouseup="more();"]').parentNode);
}
var boxes = document.querySelectorAll('.pubs li a');
for (var i = 0; i < boxes.length; i++) {
if (!boxes[i].querySelector('svg')) {
boxes[i].innerHTML += ''+
'