Page MenuHomePhabricator

Nested collapsed items bad initial inner label
Closed, DuplicatePublic

Description

Upon first rendering of

<div class="toccolours mw-collapsible mw-collapsed">
=== Registration ===
<div class="mw-collapsible-content">
<div class="toccolours mw-collapsible mw-collapsed">
*AT9S14 (maximum 50)
<div class="mw-collapsible-content">
*#<!--01-->Bob Bobbs
*#<!--02-->
*#<!--03-->
*#<!--04-->
</div></div></div></div>

we click on the outer item to expand it, revealing the inner item.
That inner item is in its correct collapsed state, except its label
says "[Collapse]" but it is already collapsed. So it should say
"[Expand]". Upon clicking it it begins having the correct wording.
It is just in the initial state does it show the wrong label.