aboutsummaryrefslogtreecommitdiff
path: root/themes/alps/assets/print.js
blob: 8b2b22f8094c0e91be14a160dc999f77b30fb8d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
// @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat

const print = document.getElementById("print");
print.style.display = "inherit";
print.addEventListener("click", e => {
	e.preventDefault();
	window.print();
});

// @license-end