Update tab shown/hidden events for Bootstrap 3
Fix appearance of inputs