Commit 662a89d8 authored by Vincent Gabriel's avatar Vincent Gabriel
Browse files

Merge pull request #48 from realcrowd/Bootstrap-Compatibility

Made compatible with both bootstrap 2.3.2 and 3.0.0
parents 7a758fce c868bc54
......@@ -197,7 +197,8 @@ var bootstrapWizardCreate = function(element, options) {
}
});
$('a[data-toggle="tab"]', $navigation).on('shown', function (e) { // use shown instead of show to help prevent double firing
// attach to both shown and shown.bs.tab to support Bootstrap versions 2.3.2 and 3.0.0
$('a[data-toggle="tab"]', $navigation).on('shown shown.bs.tab', function (e) { // use shown instead of show to help prevent double firing
$element = $(e.target).parent();
var nextTab = $navigation.find('li').index($element);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment