Minime modifiche al loader

This commit is contained in:
Luca Trupiano 2024-01-05 12:08:21 +01:00
parent 22d915c492
commit 68b311a6f7
1 changed files with 3 additions and 3 deletions

View File

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