UTF8 and javascript

This commit is contained in:
Gnieark 2015-12-18 21:50:17 +01:00
parent b7f157c263
commit 0bdf972eab

View File

@ -26,7 +26,7 @@ function fight(xd_check){
try{
var strike = JSON.parse(xhr.responseText);
}catch(e){
document.getElementById('logs').innerHTML = 'erreur' +xhr.responseText;
document.getElementById('logs').innerHTML += 'erreur' +xhr.responseText;
return;
}
if( strike['target'] !== ''){