Fixing type: printBackgrounds => printBackground

This commit is contained in:
Haojian Wu 2015-06-11 14:43:45 +08:00
parent ccbe554ec0
commit 559eb20e7f

View file

@ -97,7 +97,7 @@ wrapWebContents = (webContents) ->
if options.printSelectionOnly if options.printSelectionOnly
printingSetting.shouldPrintSelectionOnly = options.printSelectionOnly printingSetting.shouldPrintSelectionOnly = options.printSelectionOnly
if options.printBackgrounds if options.printBackgrounds
printingSetting.shouldPrintBackgrounds = options.printBackgrounds printingSetting.shouldPrintBackgrounds = options.printBackground
webContents._printToPDF printingSetting, callback webContents._printToPDF printingSetting, callback