1
0

Code cleanup

This commit is contained in:
2022-10-16 15:50:38 +02:00
parent 31c0bda8cb
commit cb22029f7e
8 changed files with 26 additions and 25 deletions

View File

@@ -5,7 +5,7 @@ function queryStatus(appendix, secret)
success: function(result)
{
let ajaxOutput = $('#egg_ajaxOutput');
ajaxOutput.val(result + '\r\n' + appendix);
ajaxOutput.val(result + '\n' + appendix);
ajaxOutput.scrollTop(ajaxOutput[0].scrollHeight);
},
async: true
@@ -27,7 +27,7 @@ function startAjaxRefresh(secret)
error: function( jqXHR, textStatus, errorThrown)
{
clearInterval(val);
queryStatus('AN ERROR OCCURED:' + '\r\n' + textStatus, secret);
queryStatus('AN ERROR OCCURED:' + '\n' + textStatus, secret);
},
async: true
});
@@ -48,7 +48,7 @@ function startAjaxRedraw(secret)
error: function( jqXHR, textStatus, errorThrown)
{
clearInterval(val);
queryStatus('AN ERROR OCCURED:' + '\r\n' + textStatus, secret);
queryStatus('AN ERROR OCCURED:' + '\n' + textStatus, secret);
},
async: true
});