File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 11/*
2- * jQuery File Upload Plugin 5.20
2+ * jQuery File Upload Plugin 5.21
33 * https://github.com/blueimp/jQuery-File-Upload
44 *
55 * Copyright 2010, Sebastian Tschan
3434 $ . support . xhrFormDataFileUpload = ! ! window . FormData ;
3535
3636 // The form.elements propHook is added to filter serialized elements
37- // to not include file inputs in jQuery 1.9.0
38- // This hooks directly into jQuery.fn.serializeArray
37+ // to not include file inputs in jQuery 1.9.0.
38+ // This hooks directly into jQuery.fn.serializeArray.
3939 // For more info, see http://bugs.jquery.com/ticket/13306
4040 $ . propHooks . elements = {
41- get : function ( form ) {
42- if ( jQuery . nodeName ( form , " form" ) ) {
43- return jQuery . grep ( form . elements , function ( elem ) {
44- return ! jQuery . nodeName ( elem , " input" ) || elem . type !== " file" ;
41+ get : function ( form ) {
42+ if ( $ . nodeName ( form , ' form' ) ) {
43+ return $ . grep ( form . elements , function ( elem ) {
44+ return ! $ . nodeName ( elem , ' input' ) || elem . type !== ' file' ;
4545 } ) ;
4646 }
4747 return null ;
You can’t perform that action at this time.
0 commit comments