mirror of
https://github.com/jquery/jquery.git
synced 2026-02-06 05:15:05 -05:00
When binding a change directly to a file input just passthrough to the normal bind. A temporary fix for #5997, needs more investigation.
This commit is contained in:
@@ -769,6 +769,10 @@ if ( !jQuery.support.changeBubbles ) {
|
||||
},
|
||||
|
||||
setup: function( data, namespaces ) {
|
||||
if ( this.type === "file" ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
for ( var type in changeFilters ) {
|
||||
jQuery.event.add( this, type + ".specialChange", changeFilters[type] );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user