summaryrefslogtreecommitdiff
path: root/expandvideo.js
diff options
context:
space:
mode:
authorccd0 <admin@containerchan.org>2013-11-12 04:47:53 -0800
committerccd0 <admin@containerchan.org>2013-11-12 04:47:53 -0800
commitfaa345671b1f4afc0647669c7637838f80d68da2 (patch)
tree4d51c040e253c84e647f8017c8195b891f9c42d3 /expandvideo.js
parent610d5a6a9673cd776132a441b44ea0781b840ff2 (diff)
bugfix for hover
Diffstat (limited to 'expandvideo.js')
-rw-r--r--expandvideo.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/expandvideo.js b/expandvideo.js
index 364aa90b..7a68f631 100644
--- a/expandvideo.js
+++ b/expandvideo.js
@@ -71,6 +71,7 @@ function setupVideo(thumb, url) {
video.style.display = "inline";
videoHide.style.display = "inline";
videoContainer.style.display = "block";
+ videoContainer.style.position = "static";
thumb.style.display = "none";
video.muted = setting("videomuted");
@@ -103,6 +104,7 @@ function setupVideo(thumb, url) {
video.style.display = "inline";
videoHide.style.display = "none";
videoContainer.style.display = "inline";
+ videoContainer.style.position = "fixed";
video.muted = setting("videomuted");
video.controls = false;