change color of console debug message

otherwise it is badly readable in Safari
This commit is contained in:
2025-07-01 08:48:12 +02:00
parent a6ec455563
commit 572387ae48

View File

@ -313,7 +313,7 @@ function reqJSON(s, url, successHandler, errorHandler) {
: new ActiveXObject('Microsoft.XMLHTTP');
if (debugCommunication) {
console.log("%cto server (reqJSON): %s",
"color:white;background:darkgreen", url);
"background:yellow", url);
}
xhr.open('get', url, true);
xhr.onreadystatechange = function() {