Commit 0bc6fe58 authored by julientaq's avatar julientaq

rename preview function

parent 7134fc6d
......@@ -19,12 +19,12 @@
window.addEventListener("load", function () {
if (document.querySelector('#print')) {
document.querySelector('#print').addEventListener("click", print);
document.querySelector('#print').addEventListener("click", preview);
}
});
function print() {
function preview() {
window.PagedPolyfill.preview();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment