diff --git a/static/js/init.js b/static/js/init.js index 97ada72..f5694dd 100644 --- a/static/js/init.js +++ b/static/js/init.js @@ -39,7 +39,6 @@ function readValuesFromLocalstorage() { inputElement.val(text_val); } else if (inputType === 'checkbox') { - console.log('aaa') var check_value = localStorage.getItem(inputName); if (check_value !== null) { inputElement.prop('checked', check_value === 'true'); @@ -135,7 +134,9 @@ function adjustLabelPosition() { $('#advanced-tree-expand').bind('click', function(e) { if (!advancedTreeExpanded){ advancedTreeExpanded = true; - $('#advanced-tree').show('fast'); + $('#advanced-tree').show('fast', function() { + adjustLabelPosition(); + }); $('#advanced-tree-expand i').text('remove'); } else { advancedTreeExpanded = false; @@ -149,7 +150,9 @@ function adjustLabelPosition() { $('#compare-expand').bind('click', function(e) { if (!compareExpanded){ compareExpanded = true; - $('#compare-settings').show('fast'); + $('#compare-settings').show('fast', function() { + adjustLabelPosition(); + }); $('#compare-expand i').text('remove'); } else { compareExpanded = false; diff --git a/translations/en/LC_MESSAGES/messages.mo b/translations/en/LC_MESSAGES/messages.mo index 02ffe29..552ca0a 100644 Binary files a/translations/en/LC_MESSAGES/messages.mo and b/translations/en/LC_MESSAGES/messages.mo differ diff --git a/translations/en/LC_MESSAGES/messages.po b/translations/en/LC_MESSAGES/messages.po index 69d4dc1..4de5d9e 100644 --- a/translations/en/LC_MESSAGES/messages.po +++ b/translations/en/LC_MESSAGES/messages.po @@ -376,7 +376,7 @@ msgid "" "BIC and OR keyness scores)." msgstr "" "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 msgid "Upload a compare corpus"