Fix a type error.
This commit is contained in:
parent
ac62871645
commit
47439cd77c
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ wrapWebContents = (webContents) ->
|
|||
printingSetting.marginsType = options.marginsType
|
||||
if options.printSelectionOnly
|
||||
printingSetting.shouldPrintSelectionOnly = options.printSelectionOnly
|
||||
if options.printCSSBackgrounds
|
||||
if options.printBackgrounds
|
||||
printingSetting.shouldPrintBackgrounds = options.printBackgrounds
|
||||
|
||||
webContents._printToPDF printingSetting, callback
|
||||
|
|
Loading…
Reference in a new issue