From bcff6a76474193e71706afcbe5b7f794ad03009e Mon Sep 17 00:00:00 2001 From: Thomas FORGIONE Date: Wed, 13 May 2015 11:56:36 +0200 Subject: [PATCH] Fullscreen seems to work correctly --- static/js/prototype/main.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/static/js/prototype/main.js b/static/js/prototype/main.js index 7292422..92a217d 100644 --- a/static/js/prototype/main.js +++ b/static/js/prototype/main.js @@ -177,11 +177,14 @@ function fullscreen() { function stopFullscreen() { isFullscreen = false; - // container.style.position = ""; + container.style.position = ""; container.style.cssFloat = ""; + container.style.top = ""; + container.style.bottom = ""; + container.style.left = ""; + container.style.right = ""; container.style.width = container_size.width() + "px"; container.style.height = container_size.height() + "px"; - container.style.overflow = ""; // canvas.style.position = ""; // canvas.style.cssFloat = "";