Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
use change event for range inputs on IE
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelw committed Feb 11, 2014
1 parent f7cc767 commit 31044dd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/NodeBind.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,11 @@
case 'select-multiple':
case 'select-one':
return 'change';
case 'range':
if (/Trident/.test(navigator.userAgent) ||
/MSIE/.test(navigator.userAgent)) {
return 'change';
}
default:
return 'input';
}
Expand Down

0 comments on commit 31044dd

Please sign in to comment.