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();
|
const httpts = new Date().getTime();
|
||||||
if (httpdiv !== null)
|
if (httpdiv !== null)
|
||||||
httpdiv.innerHTML += '<div id="http-'+httpts+'">'+method+' '+path+'</div>';
|
httpdiv.innerHTML += '<div id="http-'+httpts+'">'+method+' '+path+'</div>';
|
||||||
|
document.activeElement.blur();
|
||||||
payload = payload || null;
|
payload = payload || null;
|
||||||
callbk = callbk || null;
|
callbk = callbk || null;
|
||||||
const oReq = new XMLHttpRequest();
|
const oReq = new XMLHttpRequest();
|
||||||
|
|
Loading…
Reference in New Issue