aboutsummaryrefslogtreecommitdiff
path: root/themes/alps/assets/print.js
diff options
context:
space:
mode:
Diffstat (limited to 'themes/alps/assets/print.js')
-rw-r--r--themes/alps/assets/print.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/themes/alps/assets/print.js b/themes/alps/assets/print.js
index c4379ad..8b2b22f 100644
--- a/themes/alps/assets/print.js
+++ b/themes/alps/assets/print.js
@@ -1,6 +1,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