VinceG / twitter-bootstrap-wizard

This twitter bootstrap plugin builds a wizard out of a formatter tabbable structure. It allows to build a wizard functionality using buttons to go through the different wizard steps and using events allows to hook into each step individually.
MIT License
1.39k stars 676 forks source link

fix of issue 167 #168

Closed jstaerk closed 8 years ago

jstaerk commented 8 years ago

The "shown" event will be fired after the tab has already displayed, so all false return values will be ignored, causing https://github.com/VinceG/twitter-bootstrap-wizard/issues/167 (e.g. a click on a disabled tab will still show it): The fix is to indeed use the show instead of the shown event.