mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 09:54:27 +02:00
Improve accessibility with showmore and rendertime
This commit is contained in:
parent
73d4bed31c
commit
859d92ab02
2 changed files with 2 additions and 2 deletions
|
@ -59,7 +59,7 @@ function addHeightToggleHandler($item) {
|
|||
$item.data("item-id", itemId);
|
||||
var toggleId = "wall-item-body-toggle-" + itemId;
|
||||
|
||||
$item.append('<div class="wall-item-body-toggle" data-item-id="' + itemId + '" id="' + toggleId + '" ><button type="button" class="wall-item-body-toggle-text">' + showmore_dyn_showmore_linktext + '</button></div>');
|
||||
$item.append('<div class="wall-item-body-toggle" data-item-id="' + itemId + '" id="' + toggleId + '" ><button type="button" class="wall-item-body-toggle-text" aria-hidden="true">' + showmore_dyn_showmore_linktext + '</button></div>');
|
||||
$item.addClass("limitable limit-height");
|
||||
|
||||
var $toggle = $("#" + toggleId);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue