Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Shuttleworth foundation
ca-cla-chooser
Commits
662a89d8
Commit
662a89d8
authored
Oct 09, 2013
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
jquery.bootstrap.wizard.js
View file @
662a89d8
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment