Skip to content
Permalink
Browse files

No reason to limit the initial change data store to just radio elemen…

…ts. Fixes #5851.
  • Loading branch information
jeresig committed Jan 27, 2010
1 parent 7a3afc3 commit 942f8f7f75a55a36e6b9745030d3b3c983518aa8
Showing with 1 addition and 4 deletions.
  1. +1 −4 src/event.js
@@ -728,10 +728,7 @@ jQuery.event.special.change = {
// information/focus[in] is not needed anymore
beforeactivate: function( e ) {
var elem = e.target;

if ( elem.nodeName.toLowerCase() === "input" && elem.type === "radio" ) {
jQuery.data( elem, "_change_data", getVal(elem) );
}
jQuery.data( elem, "_change_data", getVal(elem) );
}
},
setup: function( data, namespaces, fn ) {

0 comments on commit 942f8f7

Please sign in to comment.
You can’t perform that action at this time.