Index: chrome/browser/resources/print_preview/copies_settings.js |
diff --git a/chrome/browser/resources/print_preview/copies_settings.js b/chrome/browser/resources/print_preview/copies_settings.js |
index 15f12fe58c7c2c25f77152bc30024f788e4b83a2..4a3737f4f7b43c36cf68869ee21057969de049b1 100644 |
--- a/chrome/browser/resources/print_preview/copies_settings.js |
+++ b/chrome/browser/resources/print_preview/copies_settings.js |
@@ -161,15 +161,11 @@ cr.define('print_preview', function() { |
* @private |
*/ |
onPrinterCapabilitiesUpdated_: function(e) { |
- if (e.printerCapabilities.disableCopiesOption) { |
- fadeOutElement(this.copiesOption_); |
- $('hr-before-copies').classList.remove('invisible'); |
- } else { |
- fadeInElement(this.copiesOption_); |
- $('hr-before-copies').classList.add('invisible'); |
- } |
this.updateTwoSidedOption_( |
e.printerCapabilities.printerDefaultDuplexValue); |
+ e.printerCapabilities.disableCopiesOption ? |
+ fadeOutOption(this.copiesOption_) : |
+ fadeInOption(this.copiesOption_); |
}, |
/** |