From 8371a0297570281b62da7ee66a539e6f239faa43 Mon Sep 17 00:00:00 2001 From: Mahdi Dibaiee Date: Mon, 10 Feb 2014 16:22:39 +0330 Subject: [PATCH] extra height fix --- Web/js/functions.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Web/js/functions.js b/Web/js/functions.js index 34c8793..cad1222 100644 --- a/Web/js/functions.js +++ b/Web/js/functions.js @@ -10,9 +10,9 @@ function sizeAndPos() { $c.attr('height',h * window.devicePixelRatio); $c.css({ 'width' : w, - 'height' : h - (window.devicePixelRatio-1) * 53 + 'height' : h }); - alert(window.devicePixelRatio); + $('body, html').css('height', h+53) c.clearRect(0,0, width(), height()); c.putImageData(data, 0, 0); }