Skip to content

Commit

Permalink
Merge pull request #344 from JoomShaper/hu-188
Browse files Browse the repository at this point in the history
🛠️ Fixed: Media gallery images upload js issue
  • Loading branch information
mi-prakash authored Jul 28, 2023
2 parents f388d94 + a053f9d commit fd36d4b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ jQuery(function($) {
var paths = Joomla.getOptions('system.paths');

for (i=0;i<files.length;i++){
var ext = files[i].name.split('.').pop();
var ext = files[i].name.split('.').pop().toLowerCase();
var allowed = ((ext == 'png') || (ext == 'jpg') || (ext == 'jpeg') || (ext == 'gif') || (ext == 'svg'));
if(allowed) {

Expand Down

0 comments on commit fd36d4b

Please sign in to comment.