diff --git a/Source/Form.Placeholder.js b/Source/Form.Placeholder.js index b5de713..400bd3b 100644 --- a/Source/Form.Placeholder.js +++ b/Source/Form.Placeholder.js @@ -51,6 +51,9 @@ this.Form.Placeholder = new Class({ }.bind(this), 'blur': function() { this.activatePlaceholder(); + }.bind(this), + 'change': function() { + this.element.setStyle('color', this.original_color); }.bind(this) }); @@ -82,4 +85,4 @@ this.Form.Placeholder = new Class({ } }); -})(); \ No newline at end of file +})();