Commit 4b57163f authored by Bruno Guillaume's avatar Bruno Guillaume
Browse files

hide audio controls when there is no solution

parent 147e2afd
......@@ -449,9 +449,9 @@ function search_pattern() {
$('#results-navig').hide();
$('#display-sentence').hide();
$('#display-svg').hide();
$('#progress-txt').text('No results found');
$('#progress-txt').html('No results found <span style="font-size: 60%">[' + fields[1] + 's]</span>');
$("#export-button").prop('disabled', true);
$('#results-block').show();
$('#results-block').hide();
$('#cluster-block').show();
} else if (fields[0] == '<TOTAL>') {
$('#progress-txt').html(fields[1] + ' occurrence' + ((fields[1] > 1) ? 's' : '') + ' <span style="font-size: 60%">[' + fields[2] + 's]</span>');
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment