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