Changeset 52073
- Timestamp:
- 11/09/2021 02:59:44 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/js/media/controllers/library.js
r48650 r52073 197 197 // If uploading, we know the filename but not the mime type. 198 198 if ( attachment.get('uploading') ) { 199 return /\.(jpe?g|png|gif )$/i.test( attachment.get('filename') );199 return /\.(jpe?g|png|gif|webp)$/i.test( attachment.get('filename') ); 200 200 } 201 201
Note: See TracChangeset
for help on using the changeset viewer.