1
0
Fork 0

spelling: usually

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2023-03-22 00:08:51 -04:00
parent 067c1c2679
commit 728fb43d18

View file

@ -4,7 +4,7 @@ It would be better if it would be done in friendica core but since core lacks th
it is done in the theme
In short: the piece of code counts the total number of children of the toplevelpost
- this are usaly all posts with thread_level = 2 - and stores it in variable $top_children_total.
- this are usually all posts with thread_level = 2 - and stores it in variable $top_children_total.
The first time a children which hits thread_level = 2 and $top_child = 1 opens the div.
Everytime when a children with top_level = 2 comes up $top_child_nr rises with 1.