NordMagnus / Trello-Folds

MIT License
19 stars 4 forks source link

Using only one hash for section cards does not work #41

Closed NordMagnus closed 5 years ago

NordMagnus commented 5 years ago

"When changing the setting to use only one hash the dropdown arrows are rendered as expected, but the collapse functionality doesn't work. Using 2+ works fine, just a funny bug I ran into." (reported by Justin No in chrome web store)

NordMagnus commented 5 years ago

Works for me

NordMagnus commented 5 years ago

Need to recheck collapse/expand

NordMagnus commented 5 years ago

Fixed. The bug was caused by the selector looking for the separator (in this case a single hash) which exists in every card's DOM. Looking for next a.section-card instead.