diff --git a/showmore_dyn/showmore_dyn.js b/showmore_dyn/showmore_dyn.js index d60529d9..4442da76 100644 --- a/showmore_dyn/showmore_dyn.js +++ b/showmore_dyn/showmore_dyn.js @@ -45,7 +45,7 @@ function addHeightToggleHandler($item) { var toggleId = "wall-item-body-toggle-" + itemId; $item.wrap('
'); - $("#" + wrapperId).append(''); + $("#" + wrapperId).append(''); $item.addClass("limitable limit-height"); var $toggle = $("#" + toggleId); diff --git a/showmore_dyn/showmore_dyn.php b/showmore_dyn/showmore_dyn.php index cfc8e937..664049c6 100644 --- a/showmore_dyn/showmore_dyn.php +++ b/showmore_dyn/showmore_dyn.php @@ -71,5 +71,6 @@ function showmore_dyn_settings(&$a,&$o) { function showmore_dyn_script() { $limitHeight = DI::pConfig()->get(local_user(), 'showmore_dyn', 'limitHeight' ); - DI::page()['htmlhead'] .= ''; + $showmore_dyn_showmore_linktext = DI::l10n()->t('Show more ...'); + DI::page()['htmlhead'] .= ''; }