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
f5ec0dbf
Commit
f5ec0dbf
authored
4 years ago
by
XhmikosR
Browse files
Options
Download
Email Patches
Plain Diff
collapse: fix error with jQuery v3.5.0.
parent
d848c322
v4-dev-dropdown-hide-method
v4-dev
v4.6.2
v4.6.1
v4.6.0
v4.5.3
v4.5.2
v4.5.1
v4.5.0
6 merge requests
!36532
My v4 dev
,
!34086
v4: Fix prevented show event disables modals with fade class from being displayed again
,
!33729
V4 dev
,
!33086
V4 dev
,
!31901
Add opacity utilities
,
!31513
Update icons.md
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
js/src/collapse.js
+1
-1
js/src/collapse.js
with
1 addition
and
1 deletion
+1
-1
js/src/collapse.js
+
1
-
1
View file @
f5ec0dbf
...
...
@@ -335,7 +335,7 @@ class Collapse {
...
typeof
config
===
'
object
'
&&
config
?
config
:
{}
}
if
(
!
data
&&
_config
.
toggle
&&
/show|hide/
.
test
(
config
))
{
if
(
!
data
&&
_config
.
toggle
&&
typeof
config
===
'
string
'
&&
/show|hide/
.
test
(
config
))
{
_config
.
toggle
=
false
}
...
...
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