small fix
This commit is contained in:
parent
1d0964131a
commit
2128660c0b
@ -1,6 +1,6 @@
|
||||
ImageCommon =
|
||||
error: (file, post, redirect, reload) ->
|
||||
if file.error and file.error.code isnt @error.MEDIA_ERR_NETWORK # video
|
||||
if file.error and file.error.code isnt file.error.MEDIA_ERR_NETWORK # video
|
||||
error = switch file.error.code
|
||||
when 1 then 'MEDIA_ERR_ABORTED'
|
||||
when 3 then 'MEDIA_ERR_DECODE'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user