Fixed overlapping lines + Typo

This commit is contained in:
lkrsnik 2024-07-25 18:36:56 +02:00
parent ac733092cc
commit 61a7893990
3 changed files with 7 additions and 4 deletions

View File

@ -39,7 +39,6 @@ function readValuesFromLocalstorage() {
inputElement.val(text_val); inputElement.val(text_val);
} else if (inputType === 'checkbox') { } else if (inputType === 'checkbox') {
console.log('aaa')
var check_value = localStorage.getItem(inputName); var check_value = localStorage.getItem(inputName);
if (check_value !== null) { if (check_value !== null) {
inputElement.prop('checked', check_value === 'true'); inputElement.prop('checked', check_value === 'true');
@ -135,7 +134,9 @@ function adjustLabelPosition() {
$('#advanced-tree-expand').bind('click', function(e) { $('#advanced-tree-expand').bind('click', function(e) {
if (!advancedTreeExpanded){ if (!advancedTreeExpanded){
advancedTreeExpanded = true; advancedTreeExpanded = true;
$('#advanced-tree').show('fast'); $('#advanced-tree').show('fast', function() {
adjustLabelPosition();
});
$('#advanced-tree-expand i').text('remove'); $('#advanced-tree-expand i').text('remove');
} else { } else {
advancedTreeExpanded = false; advancedTreeExpanded = false;
@ -149,7 +150,9 @@ function adjustLabelPosition() {
$('#compare-expand').bind('click', function(e) { $('#compare-expand').bind('click', function(e) {
if (!compareExpanded){ if (!compareExpanded){
compareExpanded = true; compareExpanded = true;
$('#compare-settings').show('fast'); $('#compare-settings').show('fast', function() {
adjustLabelPosition();
});
$('#compare-expand i').text('remove'); $('#compare-expand i').text('remove');
} else { } else {
compareExpanded = false; compareExpanded = false;

View File

@ -376,7 +376,7 @@ msgid ""
"BIC and OR keyness scores)." "BIC and OR keyness scores)."
msgstr "" msgstr ""
"Select a reference treebank to identify key phenomena (prints the frequency " "Select a reference treebank to identify key phenomena (prints the frequency "
"ration and the %DIFF, BIC and OR keyness scores)." "ratio and the %DIFF, BIC and OR keyness scores)."
#: templates/index.html:173 templates/index.html:180 #: templates/index.html:173 templates/index.html:180
msgid "Upload a compare corpus" msgid "Upload a compare corpus"