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');
|
||||
if (debugCommunication) {
|
||||
console.log("%cto server (reqJSON): %s",
|
||||
"color:white;background:darkgreen", url);
|
||||
"background:yellow", url);
|
||||
}
|
||||
xhr.open('get', url, true);
|
||||
xhr.onreadystatechange = function() {
|
||||
|
Reference in New Issue
Block a user