-
Notifications
You must be signed in to change notification settings - Fork 37
Nav-Expand/Collapse also enters chapter #234
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Clicking on the expand/collapse button > in the navigation will also enter the chapter. This is confusing and should be changed to only expand/collapse the chapter but not change sites.
This is due to js/extra.js line 12 spawning a click event when clicking anywhere on $("li.chapter-item"). This is done to allow users to not only click on the text/name of a chapter but also on the empty room next to it.
Essentially, what we want is that the first 2 of the following areas will enter a chapter, but the last area not:
Bit tricky though, given that the underlying HTML structure doesnt really expose such a structure but instead has the expand/collapse button contained in the empty area:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working


