4,456
edits
No edit summary |
No edit summary |
||
Line 878: | Line 878: | ||
function openModal(cardElement, event) { | function openModal(cardElement, event) { | ||
event.stopPropagation(); | event.stopPropagation(); | ||
$("#print-chooser").hide(); | |||
$("#show-article").removeClass("print-opts-open"); | |||
var pageTitle = $(cardElement).data("page") || null; // e.g. "090" | var pageTitle = $(cardElement).data("page") || null; // e.g. "090" | ||
window.currentEntryTitle = pageTitle; | window.currentEntryTitle = pageTitle; | ||
Line 1,685: | Line 1,687: | ||
// Close modal with Close button | // Close modal with Close button | ||
$("#close-button").on("click", function () { | $("#close-button").on("click", function () { | ||
$("#print-chooser").hide(); | |||
$("#show-article").removeClass("print-opts-open"); | |||
$(".list-container").removeClass("fade-out"); | $(".list-container").removeClass("fade-out"); | ||
closeModal(); | closeModal(); |