Testing flash fermata se necessario
This commit is contained in:
@@ -5,17 +5,6 @@ window.onresize = function (event) {
|
||||
function SetWidthHeight() {
|
||||
var height = $(window).outerHeight();
|
||||
var width = $(window).outerWidth();
|
||||
//var height = $(window).height();
|
||||
//var width = $(window).width();
|
||||
//$(window).innerHeight() * $(window).devicePixelRatio();
|
||||
|
||||
//w = window.screen.width;
|
||||
//h = window.screen.height;
|
||||
//if (window.devicePixelRatio < 1) {
|
||||
// w = window.screen.width / window.devicePixelRatio;
|
||||
// h = window.screen.height / window.devicePixelRatio;
|
||||
//}
|
||||
|
||||
|
||||
$.ajax({
|
||||
url: "./windowSize.ashx",
|
||||
@@ -33,7 +22,7 @@ function SetWidthHeight() {
|
||||
window.location.reload();
|
||||
};
|
||||
}).fail(function (xhr) {
|
||||
alert("Problem to retrieve browser size.");
|
||||
//alert("Problem to retrieve browser size.");
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user