From 69e1e3c0bdf0dbadd65b3ae048a5c9a38d8aef91 Mon Sep 17 00:00:00 2001 From: Haojian Wu Date: Tue, 18 Aug 2015 09:28:02 +0800 Subject: [PATCH] Fix a typing error in option checking: printBackgrounds => printBackground --- atom/browser/api/lib/web-contents.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atom/browser/api/lib/web-contents.coffee b/atom/browser/api/lib/web-contents.coffee index 06615e31..1bb82dec 100644 --- a/atom/browser/api/lib/web-contents.coffee +++ b/atom/browser/api/lib/web-contents.coffee @@ -97,7 +97,7 @@ wrapWebContents = (webContents) -> printingSetting.marginsType = options.marginsType if options.printSelectionOnly printingSetting.shouldPrintSelectionOnly = options.printSelectionOnly - if options.printBackgrounds + if options.printBackground printingSetting.shouldPrintBackgrounds = options.printBackground if options.pageSize and PDFPageSize[options.pageSize] -- 2.43.0