.
This commit is contained in:
parent
052a5bdb6e
commit
82cc721200
|
@ -13,11 +13,11 @@ function Ajx(){
|
|||
return request;
|
||||
}
|
||||
function addLog(message){
|
||||
//var divLogs = document.getElementById("logs");
|
||||
var divLogs = document.getElementById("logs");
|
||||
var p=createElem('p',{});
|
||||
p.innerHTML=message;
|
||||
document.getElementById("logs").appendChild(p);
|
||||
//divLogs.scrollTop = divLogs.scrollHeight;
|
||||
divLogs.appendChild(p);
|
||||
divLogs.scrollTop = divLogs.scrollHeight;
|
||||
|
||||
}
|
||||
function createElem(type,attributes){
|
||||
|
|
Loading…
Reference in New Issue
Block a user