The call to hide_all_appointments in day_selected_cb should probably be removed as well to prevent ugly flickering, but I don't know if that has any unintended side effects.
The call to hide_all_ appointments in day_selected_cb should probably be removed as well to prevent ugly flickering, but I don't know if that has any unintended side effects.