From 559eb20e7fcad0e0c449179edd23ed54fd04936c Mon Sep 17 00:00:00 2001 From: Haojian Wu Date: Thu, 11 Jun 2015 14:43:45 +0800 Subject: [PATCH] Fixing type: 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 95b651e13d3d..8855b6d35f5f 100644 --- a/atom/browser/api/lib/web-contents.coffee +++ b/atom/browser/api/lib/web-contents.coffee @@ -97,7 +97,7 @@ wrapWebContents = (webContents) -> if options.printSelectionOnly printingSetting.shouldPrintSelectionOnly = options.printSelectionOnly if options.printBackgrounds - printingSetting.shouldPrintBackgrounds = options.printBackgrounds + printingSetting.shouldPrintBackgrounds = options.printBackground webContents._printToPDF printingSetting, callback