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,
|
'$cutoff' => $cutoff,
|
||||||
'$url' => $url,
|
'$url' => $url,
|
||||||
'$dates' => $ret,
|
'$dates' => $ret,
|
||||||
|
'$showless' => DI::l10n()->t('show less'),
|
||||||
'$showmore' => DI::l10n()->t('show more')
|
'$showmore' => DI::l10n()->t('show more')
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
function showHideDates() {
|
function showHideDates() {
|
||||||
if( $('#posted-date-selector-drop').is(':visible')) {
|
if( $('#posted-date-selector-drop').is(':visible')) {
|
||||||
$('#posted-date-selector-drop').hide();
|
$('#posted-date-selector-drop').hide();
|
||||||
$('#posted-date-collapse').html(window.showMore);
|
$('#posted-date-collapse').html('{{$showmore}}');
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
$('#posted-date-selector-drop').show();
|
$('#posted-date-selector-drop').show();
|
||||||
$('#posted-date-collapse').html(window.showFewer);
|
$('#posted-date-collapse').html('{{$showless}}');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue