Another place found where "show less" had been "show more"
This commit is contained in:
parent
d4d55a5865
commit
1e09eab921
2 changed files with 3 additions and 2 deletions
|
@ -516,6 +516,7 @@ class Widget
|
|||
'$cutoff' => $cutoff,
|
||||
'$url' => $url,
|
||||
'$dates' => $ret,
|
||||
'$showless' => DI::l10n()->t('show less'),
|
||||
'$showmore' => DI::l10n()->t('show more')
|
||||
]);
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue