mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
open videos in gallery
This commit is contained in:
parent
7a06ff480d
commit
53d720217b
|
@ -2166,7 +2166,7 @@ var thegrid = (function () {
|
|||
var oth = ebi(this.getAttribute('ref')),
|
||||
href = this.getAttribute('href'),
|
||||
aplay = ebi('a' + oth.getAttribute('id')),
|
||||
is_img = /\.(gif|jpe?g|png|webp)(\?|$)/i.test(href),
|
||||
is_img = /\.(gif|jpe?g|png|webp|webm|mp4)(\?|$)/i.test(href),
|
||||
in_tree = null,
|
||||
have_sel = QS('#files tr.sel'),
|
||||
td = oth.closest('td').nextSibling,
|
||||
|
|
Loading…
Reference in a new issue