mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-03-28 19:35:10 +03:00
Restored the mime comparison regex - I was too agressive in my changes earlier.
This commit is contained in:
parent
7c4ef5c1e9
commit
746f79e3f1
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ function filterFiles( files ){
|
|||
file.url && (
|
||||
file.url.toLowerCase().match(/^.*\.(png|jpg|jpeg|gif)(?:\?.*)?$/) || (
|
||||
file.mimetype &&
|
||||
file.mimetype.toLowerCase().match(/^.*\.(png|jpg|jpeg|gif)(?:\?.*)?$/)
|
||||
file.mimetype.toLowerCase().match(/^.*\/(png|jpg|jpeg|gif)$/)
|
||||
)
|
||||
) ){
|
||||
//This is sufficient to serve as a level
|
||||
|
|
Loading…
Add table
Reference in a new issue