182,9 → 182,10 |
label = 'Aide pour : ' + $( this ).data( 'name' ); |
|
if( fileMimeType.match( 'image' ) ) { |
const extention = fileMimeType.replace( /(?:imag)?e\/?/g , '' ), |
content = '<img id="modale-aide-img" src="' + lthis.cheminFichiers + thisFieldKey + '.' + extention + '" style="" alt="' + thisFieldKey + '" />'; |
} |
const extention = fileMimeType.replace( /(?:imag)?e\/?/g , '' ); |
|
content = '<img id="modale-aide-img" src="' + lthis.cheminFichiers + thisFieldKey + '.' + extention + '" style="" alt="' + thisFieldKey + '" />'; |
} |
lthis.activerModale( label, content ); |
}); |
}; |