discourse/app/assets/javascripts/print-page.js

4 lines
81 B
JavaScript

document.addEventListener("DOMContentLoaded", function() {
window.print();
});