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
2929bf96
Commit
2929bf96
authored
7 years ago
by
Johann-S
Committed by
XhmikosR
6 years ago
Browse files
Options
Download
Email Patches
Plain Diff
fix weird case with jQuery
parent
cc6e130f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
js/src/collapse.js
+2
-2
js/src/collapse.js
with
2 additions
and
2 deletions
+2
-2
js/src/collapse.js
+
2
-
2
View file @
2929bf96
...
@@ -289,8 +289,8 @@ class Collapse {
...
@@ -289,8 +289,8 @@ class Collapse {
if
(
Util
.
isElement
(
this
.
_config
.
parent
))
{
if
(
Util
.
isElement
(
this
.
_config
.
parent
))
{
parent
=
this
.
_config
.
parent
parent
=
this
.
_config
.
parent
//
I
t's a jQuery object
//
i
t's a jQuery object
if
(
typeof
this
.
_config
.
parent
.
jquery
!==
'
undefined
'
)
{
if
(
typeof
this
.
_config
.
parent
.
jquery
!==
'
undefined
'
||
typeof
this
.
_config
.
parent
[
0
]
!==
'
undefined
'
)
{
parent
=
this
.
_config
.
parent
[
0
]
parent
=
this
.
_config
.
parent
[
0
]
}
}
}
else
{
}
else
{
...
...
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