From 47439cd77c95a535bdd52f7d602b412f387dff7b Mon Sep 17 00:00:00 2001 From: Haojian Wu Date: Wed, 10 Jun 2015 15:43:33 +0800 Subject: [PATCH] Fix a type error. --- 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 5725f001190..95b651e13d3 100644 --- a/atom/browser/api/lib/web-contents.coffee +++ b/atom/browser/api/lib/web-contents.coffee @@ -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