| Index: chrome/browser/resources/print_preview/settings/copies_settings.js
|
| diff --git a/chrome/browser/resources/print_preview/settings/copies_settings.js b/chrome/browser/resources/print_preview/settings/copies_settings.js
|
| index 6ac9a998372084a9337e9b4c2cd8a7ad96cefa10..9f8e03c472f01496c8bc60402ddfff06e30f6e5f 100644
|
| --- a/chrome/browser/resources/print_preview/settings/copies_settings.js
|
| +++ b/chrome/browser/resources/print_preview/settings/copies_settings.js
|
| @@ -88,20 +88,13 @@ cr.define('print_preview', function() {
|
| this.inputField_ = this.getChildElement('input.user-value');
|
| print_preview.SettingsSection.prototype.enterDocument.call(this);
|
| this.tracker.add(
|
| - this.inputField_,
|
| - 'keydown',
|
| - this.onTextfieldKeyDown_.bind(this));
|
| + this.inputField_, 'keydown', this.onTextfieldKeyDown_.bind(this));
|
| this.tracker.add(
|
| - this.inputField_,
|
| - 'input',
|
| - this.onTextfieldInput_.bind(this));
|
| + this.inputField_, 'input', this.onTextfieldInput_.bind(this));
|
| this.tracker.add(
|
| - this.inputField_,
|
| - 'blur',
|
| - this.onTextfieldBlur_.bind(this));
|
| + this.inputField_, 'blur', this.onTextfieldBlur_.bind(this));
|
| this.tracker.add(
|
| - this.getChildElement('input.collate'),
|
| - 'click',
|
| + this.getChildElement('input.collate'), 'click',
|
| this.onCollateCheckboxClick_.bind(this));
|
| this.tracker.add(
|
| this.copiesTicketItem_,
|
| @@ -134,8 +127,8 @@ cr.define('print_preview', function() {
|
| }
|
|
|
| if (!(this.getChildElement('.collate-container').hidden =
|
| - !this.collateTicketItem_.isCapabilityAvailable() ||
|
| - !currentValueGreaterThan1)) {
|
| + !this.collateTicketItem_.isCapabilityAvailable() ||
|
| + !currentValueGreaterThan1)) {
|
| this.getChildElement('input.collate').checked =
|
| this.collateTicketItem_.getValue();
|
| }
|
| @@ -194,9 +187,11 @@ cr.define('print_preview', function() {
|
| // No need to update the ticket, but change the display to match.
|
| this.inputField_.value = '1';
|
| } else {
|
| - setTimeout((function() {
|
| - this.copiesTicketItem_.updateValue('1');
|
| - }).bind(this), 0);
|
| + setTimeout(
|
| + (function() {
|
| + this.copiesTicketItem_.updateValue('1');
|
| + }).bind(this),
|
| + 0);
|
| }
|
| }
|
| },
|
| @@ -212,7 +207,5 @@ cr.define('print_preview', function() {
|
| };
|
|
|
| // Export
|
| - return {
|
| - CopiesSettings: CopiesSettings
|
| - };
|
| + return {CopiesSettings: CopiesSettings};
|
| });
|
|
|