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 },], }); seachbBindingsStream = await myEngine.queryBindings(query, { sources: [{ type: 'sparql', value: sparqlEndpoint },], });
//console.log(query) //console.log(query)
alert(query) alert(query)
$("#loader").show(); $("#loader").fadeIn(300);
try { try {
var result = new Set() var result = new Set()
var resultClauses = new Set() var resultClauses = new Set()
@ -1859,17 +1859,17 @@ function resetFrasi(){
console.log('badge end...') console.log('badge end...')
//calcolo numero dei contesti //calcolo numero dei contesti
countResultContexts() countResultContexts()
$("#loader").hide(); $("#loader").fadeOut(300);
}); });
queryExecuted = true; queryExecuted = true;
$(cantoDisplayed).attr('style', 'display: d-flex;'); $(cantoDisplayed).attr('style', 'display: d-flex;');
$("#vistaFrasi").css("display", "none"); $("#vistaFrasi").css("display", "none");
//$("#loader").hide();
} }
catch (err) { catch (err) {
console.log(err.message); console.log(err.message);
$("#loader").fadeOut(300);
}; };