this fixes the extra errors in the gallery (when leaving an unplayable video)
This commit is contained in:
parent
b4b35c1ef3
commit
c5e2b2ee78
@ -156,7 +156,7 @@ Gallery =
|
|||||||
file.src = name.href = @href
|
file.src = name.href = @href
|
||||||
|
|
||||||
$.extend file.dataset, @dataset
|
$.extend file.dataset, @dataset
|
||||||
nodes.current.pause?()
|
nodes.current.pause?() unless nodes.current.error
|
||||||
$.replace nodes.current, file
|
$.replace nodes.current, file
|
||||||
if elType is 'video'
|
if elType is 'video'
|
||||||
file.loop = true
|
file.loop = true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user