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
c0efceb6
Unverified
Commit
c0efceb6
authored
5 years ago
by
XhmikosR
Committed by
GitHub
5 years ago
Browse files
Options
Download
Email Patches
Plain Diff
docs: remove duplicate code for indeterminate (#30471)
parent
7ce29d75
1 merge request
!31948
Examples/Floating-labels: fix bad behavior with autofill
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
site/assets/js/application.js
+0
-10
site/assets/js/application.js
site/content/docs/4.3/forms/checks.md
+1
-1
site/content/docs/4.3/forms/checks.md
with
1 addition
and
11 deletions
+1
-11
site/assets/js/application.js
+
0
-
10
View file @
c0efceb6
...
@@ -19,16 +19,6 @@
...
@@ -19,16 +19,6 @@
return
[].
slice
.
call
(
list
)
return
[].
slice
.
call
(
list
)
}
}
(
function
()
{
var
checkbox
=
document
.
getElementById
(
'
flexCheckIndeterminate
'
)
if
(
!
checkbox
)
{
return
}
checkbox
.
indeterminate
=
true
})()
makeArray
(
document
.
querySelectorAll
(
'
.js-sidenav-group
'
))
makeArray
(
document
.
querySelectorAll
(
'
.js-sidenav-group
'
))
.
forEach
(
function
(
sidenavGroup
)
{
.
forEach
(
function
(
sidenavGroup
)
{
var
groupHasLinks
=
Boolean
(
sidenavGroup
.
querySelector
(
'
li
'
))
var
groupHasLinks
=
Boolean
(
sidenavGroup
.
querySelector
(
'
li
'
))
...
...
This diff is collapsed.
Click to expand it.
site/content/docs/4.3/forms/checks.md
+
1
-
1
View file @
c0efceb6
...
@@ -35,7 +35,7 @@ Our checks use custom Bootstrap icons to indicate checked or indeterminate state
...
@@ -35,7 +35,7 @@ Our checks use custom Bootstrap icons to indicate checked or indeterminate state
Checkboxes can utilize the
`:indeterminate`
pseudo class when manually set via JavaScript (there is no available HTML attribute for specifying it).
Checkboxes can utilize the
`:indeterminate`
pseudo class when manually set via JavaScript (there is no available HTML attribute for specifying it).
{{
<
example
>
}}
{{
<
example
class=
"bd-example-indeterminate"
>
}}
<div
class=
"form-check"
>
<div
class=
"form-check"
>
<input
class=
"form-check-input"
type=
"checkbox"
value=
""
id=
"flexCheckIndeterminate"
>
<input
class=
"form-check-input"
type=
"checkbox"
value=
""
id=
"flexCheckIndeterminate"
>
<label
class=
"form-check-label"
for=
"flexCheckIndeterminate"
>
<label
class=
"form-check-label"
for=
"flexCheckIndeterminate"
>
...
...
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