Commit 942f8f7f authored by jeresig's avatar jeresig

No reason to limit the initial change data store to just radio elements. Fixes #5851.

parent 7a3afc31
......@@ -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 ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment