Hacker News new | ask | show | jobs
by inigyou 145 days ago
You just call updateFieldVisibility() every time the list selection changes and don't worry about the redundancy.