|
|
@ -44,7 +44,7 @@ function populateContributions(contributions) {
|
|
|
|
|
|
|
|
|
|
|
|
function createSection(contribution) {
|
|
|
|
function createSection(contribution) {
|
|
|
|
let section = reference.cloneNode(true);
|
|
|
|
let section = reference.cloneNode(true);
|
|
|
|
section.id = contribution.moment;
|
|
|
|
section.id = contribution.moment.replace("'","");
|
|
|
|
section.querySelector(".moment").innerHTML = contribution.moment;
|
|
|
|
section.querySelector(".moment").innerHTML = contribution.moment;
|
|
|
|
section.querySelector(".title").innerHTML = contribution.title;
|
|
|
|
section.querySelector(".title").innerHTML = contribution.title;
|
|
|
|
section.querySelector(".author").innerHTML = contribution.author;
|
|
|
|
section.querySelector(".author").innerHTML = contribution.author;
|
|
|
@ -99,7 +99,6 @@ function printViewToggle() {
|
|
|
|
// var btnPrint = document.getElementById("btn-print");
|
|
|
|
// var btnPrint = document.getElementById("btn-print");
|
|
|
|
// console.log(btnPrint);
|
|
|
|
// console.log(btnPrint);
|
|
|
|
//-------------------------
|
|
|
|
//-------------------------
|
|
|
|
createBackToWebBtn();
|
|
|
|
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
//document.getElementsByTagName("head")[0].removeChild(printview);
|
|
|
|
//document.getElementsByTagName("head")[0].removeChild(printview);
|
|
|
|
pagedjs.remove();
|
|
|
|
pagedjs.remove();
|
|
|
|