Fix a typing error in option checking: printBackgrounds => printBackground
This commit is contained in:
parent
763dcc545d
commit
69e1e3c0bd
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ wrapWebContents = (webContents) ->
|
||||||
printingSetting.marginsType = options.marginsType
|
printingSetting.marginsType = options.marginsType
|
||||||
if options.printSelectionOnly
|
if options.printSelectionOnly
|
||||||
printingSetting.shouldPrintSelectionOnly = options.printSelectionOnly
|
printingSetting.shouldPrintSelectionOnly = options.printSelectionOnly
|
||||||
if options.printBackgrounds
|
if options.printBackground
|
||||||
printingSetting.shouldPrintBackgrounds = options.printBackground
|
printingSetting.shouldPrintBackgrounds = options.printBackground
|
||||||
|
|
||||||
if options.pageSize and PDFPageSize[options.pageSize]
|
if options.pageSize and PDFPageSize[options.pageSize]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue