provo una modifica alla modalità calcolo screensize

This commit is contained in:
Samuele E. Locatelli
2018-03-07 17:22:01 +01:00
parent ea58dc30c8
commit edfde73ddd
2 changed files with 6 additions and 3 deletions
+5 -2
View File
@@ -3,8 +3,11 @@ window.onresize = function (event) {
SetWidthHeight();
}
function SetWidthHeight() {
var height = $(window).height();
var width = $(window).width();
var height = $(window).outerHeight();
var width = $(window).outerWidth();
//var height = $(window).height();
//var width = $(window).width();
//$(window).innerHeight() * $(window).devicePixelRatio();
$.ajax({
url: "./windowSize.ashx",
data: {