diff --git a/js/script_Luk_Q.js b/js/script_Luk_Q.js index 3442c89..7c68cd7 100644 --- a/js/script_Luk_Q.js +++ b/js/script_Luk_Q.js @@ -613,7 +613,8 @@ $(document).ready(function() { bindingsStream.on('data', (binding) => { //console.log(binding.toString()); // Quick way to print bindings for testing //console.log(binding.has('sub')); // Will be true - latestResult = rowNum + '. "' + binding.get('Verso').value + '" (' + binding.get('Cantica').value + ', ' + binding.get('Canto').value + ', Verso ' + binding.get('NumeroVerso').value + ')\n'; + var latestVerso = binding.get('Verso').value + latestResult = rowNum + '. "' + latestVerso.replace(binding.get('Forma').value, '*' + binding.get('Forma').value + '*') + '" (' + binding.get('Cantica').value + ', ' + binding.get('Canto').value + ', Verso ' + binding.get('NumeroVerso').value + ')\n'; $("#risultatitesto").append(latestResult); resultTablePart4 = '