From 29b6186c8e79034512d06744e81f7a5d09638f6a Mon Sep 17 00:00:00 2001 From: Bofh Date: Tue, 13 Dec 2022 01:39:12 +0100 Subject: [PATCH] Make activeElement blur() on html when calling any API --- js/base.php | 1 + 1 file changed, 1 insertion(+) diff --git a/js/base.php b/js/base.php index 41d229e..db64e1a 100644 --- a/js/base.php +++ b/js/base.php @@ -242,6 +242,7 @@ const http = { const httpts = new Date().getTime(); if (httpdiv !== null) httpdiv.innerHTML += '
'+method+' '+path+'
'; + document.activeElement.blur(); payload = payload || null; callbk = callbk || null; const oReq = new XMLHttpRequest();