We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 353418e commit 0e88f65Copy full SHA for 0e88f65
src/resources/api_nw_newwin.js
@@ -583,7 +583,7 @@ NWWindow.prototype.print = function(option) {
583
if (option.pdf_path)
584
_option["printer"] = "Save as PDF";
585
currentNWWindowInternal.setPrintSettingsInternal(_option, this.cWindow.id);
586
- window.print();
+ this.window.print();
587
// autoprint will be set to false in print_preview_handler.cc after printing is done
588
// window.print will return immediately for PDF window #5002
589
};
0 commit comments