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); };