change color of console debug message
otherwise it is badly readable in Safari
This commit is contained in:
@ -313,7 +313,7 @@ function reqJSON(s, url, successHandler, errorHandler) {
|
|||||||
: new ActiveXObject('Microsoft.XMLHTTP');
|
: new ActiveXObject('Microsoft.XMLHTTP');
|
||||||
if (debugCommunication) {
|
if (debugCommunication) {
|
||||||
console.log("%cto server (reqJSON): %s",
|
console.log("%cto server (reqJSON): %s",
|
||||||
"color:white;background:darkgreen", url);
|
"background:yellow", url);
|
||||||
}
|
}
|
||||||
xhr.open('get', url, true);
|
xhr.open('get', url, true);
|
||||||
xhr.onreadystatechange = function() {
|
xhr.onreadystatechange = function() {
|
||||||
|
Reference in New Issue
Block a user