FIx display MON

This commit is contained in:
Samuele E. Locatelli
2020-10-19 11:42:41 +02:00
parent 4bf1d3361e
commit ba297f40e8
+2 -22
View File
@@ -7,27 +7,7 @@
var height = $(window).outerHeight();
var width = $(window).outerWidth();
document.getElementById("windowSize").innerHTML = "w: " + height + "x" + width + " | s: " + screen.width + "x" + screen.height;
//$.ajax({
// url: "./windowSize.ashx",
// data: {
// 'Height': height,
// 'Width': width,
// 'PixRat': devicePixelRatio,
// 'scrWidth': screen.width,
// 'scrHeight': screen.height
// },
// contentType: "application/json; charset=utf-8",
// dataType: "json"
//}).done(function (data) {
// if (data.isFirst) {
// window.location.reload();
// };
//}).fail(function (xhr) {
// //alert("Problem to retrieve browser size.");
//});
document.getElementById("windowSize").innerHTML = "(w) " + width + "x" + height + " | " + screen.width + "x" + screen.height + " (s)";
}
$(function () {
SetWidthHeight();
@@ -38,7 +18,7 @@
<span style="color: #DEDEDE;">MP MON</span>itor
</div>
<div class="d-flex justify-content-center text-center">
<span id="windowSize"></span>
<sub><span id="windowSize"></span></sub>
</div>
<div class="d-flex justify-content-end pr-3 text-right">
2007-@DateTime.Now.Year &copy; <img class="logoImg" src="~/images/logoSteamware.png" style="height: 30px;" />