Listen to 'input' and 'change' events

This commit is contained in:
Frederic Junod
2014-02-19 10:34:25 +01:00
parent 4e7d697273
commit 03b979c30a

View File

@@ -42,7 +42,8 @@ ol.dom.Input = function(target) {
*/
this.target_ = /** @type {HTMLInputElement} */ (target);
goog.events.listen(this.target_, goog.events.EventType.CHANGE,
goog.events.listen(this.target_,
[goog.events.EventType.CHANGE, goog.events.EventType.INPUT],
this.handleInputChanged_, false, this);
goog.events.listen(this,