restart .webm as well
This commit is contained in:
parent
dbf368d357
commit
16224c479a
@ -156,7 +156,9 @@ ImageExpand =
|
||||
if file.fullImage
|
||||
# Expand already-loaded/ing picture.
|
||||
TrashQueue.remove el
|
||||
el.src = el.src if /\.gif$/.test el.src and !file.isHovered
|
||||
unless file.isHovered
|
||||
el.src = el.src if /\.gif$/.test el.src
|
||||
el.currentTime = 0 if isVideo
|
||||
else
|
||||
el.src = src or file.URL
|
||||
$.after thumb, el
|
||||
|
||||
@ -18,6 +18,7 @@ ImageHover =
|
||||
el.id = 'ihover'
|
||||
TrashQueue.remove el
|
||||
el.src = el.src if /\.gif$/.test el.src
|
||||
el.currentTime = 0 if isVideo
|
||||
else
|
||||
file.fullImage = el = $.el (if isVideo then 'video' else 'img'),
|
||||
className: 'full-image'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user