mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Added more security in HTTP headers
This commit is contained in:
parent
433bff309e
commit
6dde0cce0f
4 changed files with 20 additions and 5 deletions
|
@ -1084,7 +1084,7 @@
|
|||
//window.addEventListener("focus", ondocfocus, false);
|
||||
window.addEventListener("blur", ondocblur, false);
|
||||
window.onresize = function () { masterUpdate(512); }
|
||||
setTimeout("masterUpdate(512)", 200);
|
||||
setTimeout(function() { masterUpdate(512); }, 200);
|
||||
|
||||
// Connect to the mesh server
|
||||
meshserver = MeshServerCreateControl(domainUrl, authCookie);
|
||||
|
@ -2197,7 +2197,7 @@
|
|||
putstore("_deviceView", Q('viewselect').value);
|
||||
putstore("_viewsize", Q('sizeselect').value);
|
||||
masterUpdate(4);
|
||||
setTimeout("masterUpdate(512)", 200);
|
||||
setTimeout(function () { masterUpdate(512); }, 200);
|
||||
}
|
||||
|
||||
function ondockeypress(e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue