Make activeElement blur() on html when calling any API

This commit is contained in:
Bofh 2022-12-13 01:39:12 +01:00
parent a30fb7e020
commit 29b6186c8e
1 changed files with 1 additions and 0 deletions

View File

@ -242,6 +242,7 @@ const http = {
const httpts = new Date().getTime();
if (httpdiv !== null)
httpdiv.innerHTML += '<div id="http-'+httpts+'">'+method+' '+path+'</div>';
document.activeElement.blur();
payload = payload || null;
callbk = callbk || null;
const oReq = new XMLHttpRequest();