From 35e7aa43f801f4836305ee25800988ce52003767 Mon Sep 17 00:00:00 2001 From: Edd Date: Sat, 3 May 2014 14:58:47 +0100 Subject: [PATCH] fixes #554 - Listen for change events on all inputs --- src/browser/eventPlugins/ChangeEventPlugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/eventPlugins/ChangeEventPlugin.js b/src/browser/eventPlugins/ChangeEventPlugin.js index 4a3d7aaa08262..42103da09c560 100644 --- a/src/browser/eventPlugins/ChangeEventPlugin.js +++ b/src/browser/eventPlugins/ChangeEventPlugin.js @@ -64,7 +64,7 @@ var activeElementValueProp = null; function shouldUseChangeEvent(elem) { return ( elem.nodeName === 'SELECT' || - (elem.nodeName === 'INPUT' && elem.type === 'file') + elem.nodeName === 'INPUT' ); }