mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Fix #6593. Don't trigger change
event twice when simulating it on IE.
This commit is contained in:
parent
6872d31f5a
commit
619a89d5ff
@ -799,8 +799,8 @@ if ( !jQuery.support.changeBubbles ) {
|
||||
jQuery._data( elem, "_change_data", val );
|
||||
}
|
||||
|
||||
if ( val !== old && old != null ) {
|
||||
simulate( "change", elem, e, true );
|
||||
if ( val !== old && old != null && elem.parentNode ) {
|
||||
simulate( "change", elem.parentNode, e, true );
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user