Closed Bug 1913921 Opened 2 years ago Closed 2 years ago

Can't collapse/expand sections in Searchfox

Categories

(Webtools :: Searchfox, defect)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: fklc, Assigned: arai)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Hello!

What's Wrong:
I was trying to collapse Test Files section on Searchfox, but it didn't work for some reason.

What should happen:
Sections should be collapsible/expandable.

I don't see any errors in my console. I tried running the following manually and it fixes it for that page load, but I don't know why it doesn't work without running this manually.

    for (let element of document.querySelectorAll(".expando")) {
      element.addEventListener("click", onExpandoClick);
    }

Thanks!

This was caused by bug 1906146, which changed the order between the querySelectorAll call and adding the table to the document, which makes the querySelectorAll return nothing.

Assignee: nobody → arai.unmht
Keywords: regression
Regressed by: 1906146
Attached file GitHub Pull Request
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED

Awesome, I can confirm that it works for me now! Thank you!

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: