Skip to content

Commit 94e3122

Browse files
committed
Change accepted file types for slides to list types directly.
1 parent 29901ec commit 94e3122

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ function block_carousel_file_options() {
9191
global $CFG;
9292

9393
return array(
94-
'accepted_types' => array('image', 'web_video'),
94+
'accepted_types' => ['gif', 'jpe', 'jpeg', 'jpg', 'png', 'web_video'],
9595
'maxfiles' => 1,
9696
'maxbytes' => $CFG->maxbytes,
9797
'subdirs' => 0

0 commit comments

Comments
 (0)