Skip to content

Commit

Permalink
fixes #554 - Listen for change events on all inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
edd committed May 3, 2014
1 parent 064abe3 commit 35e7aa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/browser/eventPlugins/ChangeEventPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ var activeElementValueProp = null;
function shouldUseChangeEvent(elem) {
return (
elem.nodeName === 'SELECT' ||
(elem.nodeName === 'INPUT' && elem.type === 'file')
elem.nodeName === 'INPUT'
);
}

Expand Down

0 comments on commit 35e7aa4

Please sign in to comment.