From 5dd2f70f638fcd1b96f3d9cd8afdf2a15ba743bb Mon Sep 17 00:00:00 2001 From: Mahdi Dibaiee Date: Mon, 10 Feb 2014 16:14:03 +0330 Subject: [PATCH] body width height 100% --- Web/js/functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Web/js/functions.js b/Web/js/functions.js index 191a759..bd07358 100644 --- a/Web/js/functions.js +++ b/Web/js/functions.js @@ -12,7 +12,7 @@ function sizeAndPos() { 'width' : w, 'height' : h }); - alert($(window).height()); + alert(window.devicePixelRatio); c.clearRect(0,0, width(), height()); c.putImageData(data, 0, 0); }