Another place found where "show less" had been "show more"

This commit is contained in:
Michael 2020-11-30 19:52:57 +00:00
parent d4d55a5865
commit 1e09eab921
2 changed files with 3 additions and 2 deletions

View File

@ -516,6 +516,7 @@ class Widget
'$cutoff' => $cutoff,
'$url' => $url,
'$dates' => $ret,
'$showless' => DI::l10n()->t('show less'),
'$showmore' => DI::l10n()->t('show more')
]);

View File

@ -2,11 +2,11 @@
function showHideDates() {
if( $('#posted-date-selector-drop').is(':visible')) {
$('#posted-date-selector-drop').hide();
$('#posted-date-collapse').html(window.showMore);
$('#posted-date-collapse').html('{{$showmore}}');
} else {
$('#posted-date-selector-drop').show();
$('#posted-date-collapse').html(window.showFewer);
$('#posted-date-collapse').html('{{$showless}}');
}
}
</script>