Allow WebM replacement in quote preview thumbnails.
This commit is contained in:
parent
83fbfc0178
commit
d533f0ed95
@ -78,7 +78,7 @@ class Clone extends Post
|
||||
root.dataset.clone = origin.clones.push(@) - 1
|
||||
|
||||
cloneWithoutVideo: (node) ->
|
||||
if node.tagName is 'VIDEO'
|
||||
if node.tagName is 'VIDEO' and !node.dataset.md5 # (exception for WebM thumbnails)
|
||||
[]
|
||||
else if node.nodeType is Node.ELEMENT_NODE and $ 'video', node
|
||||
clone = node.cloneNode false
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user