Skip to content
GitLab
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
22f851fa
Commit
22f851fa
authored
10 years ago
by
fat
Browse files
Options
Download
Email Patches
Plain Diff
apply #14022 without semicolon – cleans up some jquery class usage
parent
043b4063
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
js/collapse.js
+2
-3
js/collapse.js
with
2 additions
and
3 deletions
+2
-3
js/collapse.js
+
2
-
3
View file @
22f851fa
...
@@ -88,8 +88,7 @@
...
@@ -88,8 +88,7 @@
this
.
$element
this
.
$element
.
addClass
(
'
collapsing
'
)
.
addClass
(
'
collapsing
'
)
.
removeClass
(
'
collapse
'
)
.
removeClass
(
'
collapse in
'
)
.
removeClass
(
'
in
'
)
this
.
transitioning
=
1
this
.
transitioning
=
1
...
@@ -110,7 +109,7 @@
...
@@ -110,7 +109,7 @@
}
}
Collapse
.
prototype
.
toggle
=
function
()
{
Collapse
.
prototype
.
toggle
=
function
()
{
this
[
this
.
$element
.
hasClass
(
'
in
'
)
?
'
hide
'
:
'
show
'
](
)
$this
.
toggleClass
(
'
collapsed
'
,
$target
.
hasClass
(
'
in
'
)
)
}
}
...
...
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