File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ Template.afFileUpload.helpers({
8383 const { accept } = instance ;
8484
8585 // here we can check for upload template configs, that have been added after 2.1.4 and return either
86- // an object with "config" merged with "currentUpload" to stay backwards compatible as popssible
86+ // an object with "config" merged with "currentUpload" to stay backwards compatible as possible
8787 if ( accept ) {
8888 const config = { config : { accept } } ;
8989 return Object . assign ( { } , config , currentUpload ) ;
@@ -110,7 +110,7 @@ Template.afFileUpload.helpers({
110110 } ,
111111 inputAtts ( formContext ) {
112112 const { atts } = formContext ;
113- if ( ! atts ) return ;
113+ if ( ! atts ) return { } ;
114114 delete atts . insertConfig ;
115115 return atts ;
116116 }
You can’t perform that action at this time.
0 commit comments