FIx display MON
This commit is contained in:
@@ -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 © <img class="logoImg" src="~/images/logoSteamware.png" style="height: 30px;" />
|
||||
|
||||
Reference in New Issue
Block a user