| Index: third_party/polymer/v1_0/components-chromium/paper-input/paper-input-container-extracted.js
|
| diff --git a/third_party/polymer/v1_0/components-chromium/paper-input/paper-input-container-extracted.js b/third_party/polymer/v1_0/components-chromium/paper-input/paper-input-container-extracted.js
|
| index 420007d41bc6308811cd4a71441f33ae9da5b0bb..1e5357211460fc47c60c993dc2c5dd144dabcb47 100644
|
| --- a/third_party/polymer/v1_0/components-chromium/paper-input/paper-input-container-extracted.js
|
| +++ b/third_party/polymer/v1_0/components-chromium/paper-input/paper-input-container-extracted.js
|
| @@ -128,14 +128,15 @@ Polymer({
|
| }
|
| this.addEventListener('focus', this._boundOnFocus, true);
|
| this.addEventListener('blur', this._boundOnBlur, true);
|
| + },
|
| +
|
| + attached: function() {
|
| if (this.attrForValue) {
|
| this._inputElement.addEventListener(this._valueChangedEvent, this._boundValueChanged);
|
| } else {
|
| this.addEventListener('input', this._onInput);
|
| }
|
| - },
|
|
|
| - attached: function() {
|
| // Only validate when attached if the input already has a value.
|
| if (this._inputElementValue != '') {
|
| this._handleValueAndAutoValidate(this._inputElement);
|
|
|