Testing flash fermata se necessario

This commit is contained in:
Samuele E. Locatelli
2018-03-14 17:26:57 +01:00
parent c508bf198d
commit 94c332dfda
12 changed files with 78 additions and 14 deletions
+1 -12
View File
@@ -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.");
});
}