Closed jovi09 closed 1 year ago
To stay on your main tab and to close only print dialogue, you need to do the following changes.
open index.js and search for the line
setTimeout(function () {window.close();}, 1); cb(); }, 1000);
and replace this code with
setTimeout(function () {}, 1); cb(); }, 1000);
Now add win.close(); after win.print(); statement.
Just replace setTimeout(function () {window.close();}, 1); cb(); }, 1000);
with
setTimeout(function () {win.close();}, 1); cb(); }, 1000);
@ open the index.js for VueHtmlToPaper by click on . after the line 76 add this line win.close()