Make activeElement blur() on html when calling any API
This commit is contained in:
parent
a30fb7e020
commit
29b6186c8e
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue