({ button, prompt, row })
| 221 | prompt.classList.toggle("is-expanded", nextExpanded); |
| 222 | }); |
| 223 | |
| 224 | return preview; |
| 225 | }) |
| 226 | .filter(Boolean); |
| 227 | |
| 228 | function syncPromptToggle({ button, prompt, row }) { |
| 229 | if (row.hidden) { |
| 230 | return; |
| 231 | } |
| 232 | |
| 233 | if (button.getAttribute("aria-expanded") === "true") { |
| 234 | button.hidden = false; |
| 235 | return; |
| 236 | } |
| 237 |
nothing calls this directly
no outgoing calls
no test coverage detected