Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
634ea59a
Commit
634ea59a
authored
10 years ago
by
Heinrich Fenkart
Browse files
Options
Download
Email Patches
Plain Diff
Allow tabs to fade in if no initially active pane is present; fixes
#13814
parent
4abb0957
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
js/tab.js
+2
-2
js/tab.js
with
2 additions
and
2 deletions
+2
-2
js/tab.js
+
2
-
2
View file @
634ea59a
...
@@ -55,7 +55,7 @@
...
@@ -55,7 +55,7 @@
var
$active
=
container
.
find
(
'
> .active
'
)
var
$active
=
container
.
find
(
'
> .active
'
)
var
transition
=
callback
var
transition
=
callback
&&
$
.
support
.
transition
&&
$
.
support
.
transition
&&
$active
.
hasClass
(
'
fade
'
)
&&
((
$active
.
length
&&
$active
.
hasClass
(
'
fade
'
)
)
||
!!
container
.
find
(
'
> .fade
'
).
length
)
function
next
()
{
function
next
()
{
$active
$active
...
@@ -79,7 +79,7 @@
...
@@ -79,7 +79,7 @@
callback
&&
callback
()
callback
&&
callback
()
}
}
transition
?
$active
.
length
&&
transition
?
$active
$active
.
one
(
'
bsTransitionEnd
'
,
next
)
.
one
(
'
bsTransitionEnd
'
,
next
)
.
emulateTransitionEnd
(
150
)
:
.
emulateTransitionEnd
(
150
)
:
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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
Menu
Explore
Projects
Groups
Snippets