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

4 lines
82 B
JavaScript

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