Skip to content

Commit

Permalink
SFZ Script: Fix typo of GIF MIME type.
Browse files Browse the repository at this point in the history
"image.gif" appears to be a typo here.
  • Loading branch information
weisi authored May 15, 2019
1 parent 916ba17 commit 9fa240a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/script.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ drawText = ->
el.image.addEventListener 'change', ->
file = @files[0]

return alert '仅支持 png, jpg, gif 图片格式' if file.type not in ['image/png', 'image/jpeg', 'image.gif']
return alert '仅支持 png, jpg, gif 图片格式' if file.type not in ['image/png', 'image/jpeg', 'image/gif']
readFile()

el.text.addEventListener 'input', ->
Expand Down

0 comments on commit 9fa240a

Please sign in to comment.