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); }