Ensure the nav-folder-title was actually clicked (fronstmost)
Coming from https://github.com/mdelobelle/metadatamenu/issues/649 - is it possible to make sure that the click on elements with the class nav-folder-title was actually clicked and not on another visible child item? There is already a check for nav-folder-title-content, maybe there's an easy solution to determine if nav-folder-title-content was actually clicked and therefore frontmost?
You mean like this?
Kinda yes and kinda no. Saw this setting in the code, but wanted to be also able to click between the folder name and the icon, but probably is enabling this setting a better solution. But I think that registering the event listener on the folder class itself would be even cleaner, no?