| 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 1b2c1bc6ad3efcb80339f4b135cbd54eb6e4cad2..bc0f2256cd6ffe7e5492f02fb59ecadcdb30456f 100644
|
| --- a/chrome/browser/resources/print_preview/copies_settings.js
|
| +++ b/chrome/browser/resources/print_preview/copies_settings.js
|
| @@ -161,13 +161,10 @@ 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');
|
| - }
|
| + e.printerCapabilities.disableCopiesOption ?
|
| + fadeOutOption(this.copiesOption_) :
|
| + fadeInOption(this.copiesOption_);
|
| +
|
| this.updateTwoSidedOption_(
|
| e.printerCapabilities.printerDefaultDuplexValue);
|
| },
|
|
|