Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2673)

Unified Diff: chrome/browser/resources/print_preview/color_settings.js

Issue 8371017: Print Preview: Changing the structure of the html/css. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updating unittests Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/print_preview/color_settings.js
diff --git a/chrome/browser/resources/print_preview/color_settings.js b/chrome/browser/resources/print_preview/color_settings.js
index c3d7328259613b399b6d83757254bde011c09271..37741ed7b8b9de8bf29b545c4ef14d6b788aabe9 100644
--- a/chrome/browser/resources/print_preview/color_settings.js
+++ b/chrome/browser/resources/print_preview/color_settings.js
@@ -75,8 +75,8 @@ cr.define('print_preview', function() {
onPrinterCapabilitiesUpdated_: function(e) {
var disableColorOption = e.printerCapabilities.disableColorOption;
- disableColorOption ? fadeOutElement(this.colorOption_) :
- fadeInElement(this.colorOption_);
+ disableColorOption ? fadeOutOption(this.colorOption_) :
+ fadeInOption(this.colorOption_);
this.colorOption_.setAttribute('aria-hidden', disableColorOption);
var setColorAsDefault = e.printerCapabilities.setColorAsDefault;

Powered by Google App Engine
This is Rietveld 408576698