From 68b311a6f713537a1a86c2535a14af10f6b42063 Mon Sep 17 00:00:00 2001 From: Luca Trupiano Date: Fri, 5 Jan 2024 12:08:21 +0100 Subject: [PATCH] Minime modifiche al loader --- js/cesareBrowse.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/cesareBrowse.js b/js/cesareBrowse.js index 3f4524b..68bf60e 100644 --- a/js/cesareBrowse.js +++ b/js/cesareBrowse.js @@ -1671,7 +1671,7 @@ function resetFrasi(){ seachbBindingsStream = await myEngine.queryBindings(query, { sources: [{ type: 'sparql', value: sparqlEndpoint },], }); //console.log(query) alert(query) - $("#loader").show(); + $("#loader").fadeIn(300); try { var result = new Set() var resultClauses = new Set() @@ -1859,17 +1859,17 @@ function resetFrasi(){ console.log('badge end...') //calcolo numero dei contesti countResultContexts() - $("#loader").hide(); + $("#loader").fadeOut(300); }); queryExecuted = true; $(cantoDisplayed).attr('style', 'display: d-flex;'); $("#vistaFrasi").css("display", "none"); - //$("#loader").hide(); } catch (err) { console.log(err.message); + $("#loader").fadeOut(300); };