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 36ceeb92562996a79dce686de6f76e1e304f5789..dacef4d834fa3910192c3bd073580bd088116055 100644 |
--- a/chrome/browser/resources/print_preview/settings/copies_settings.js |
+++ b/chrome/browser/resources/print_preview/settings/copies_settings.js |
@@ -75,8 +75,8 @@ cr.define('print_preview', function() { |
this.tracker.add( |
this.getChildElement('input.copies'), |
- 'keyup', |
- this.onTextfieldKeyUp_.bind(this)); |
+ 'input', |
+ this.onTextfieldInput_.bind(this)); |
this.tracker.add( |
this.getChildElement('input.copies'), |
'blur', |
@@ -175,12 +175,11 @@ cr.define('print_preview', function() { |
}, |
/** |
- * Called when a keyup event occurs on the textfield. Starts an input |
+ * Called when a input event occurs on the textfield. Starts an input |
* timeout. |
- * @param {Event} event Contains the pressed key. |
* @private |
*/ |
- onTextfieldKeyUp_: function(event) { |
+ onTextfieldInput_: function() { |
if (this.textfieldTimeout_) { |
clearTimeout(this.textfieldTimeout_); |
} |