mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-01-19 01:24:05 +01:00
expand-video.js: avoid double-initialize
This commit is contained in:
parent
eb2e3e8760
commit
f2b32fe3bc
@ -6,6 +6,9 @@ if (typeof _ == 'undefined') {
|
||||
}
|
||||
|
||||
function setupVideo(thumb, url) {
|
||||
if (thumb.videoAlreadySetUp) return;
|
||||
thumb.videoAlreadySetUp = true;
|
||||
|
||||
var video = null;
|
||||
var videoContainer, videoHide;
|
||||
var expanded = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user