Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2022-04-08 09:23:30 +0300
committerXhmikosR <xhmikosr@gmail.com>2022-04-19 09:07:15 +0300
commitd36b1a46cf17ed5076bc86799936de2451ebc7f0 (patch)
treeefbcffebff593299d79453799953b3a682f6c05a
parent7613953998dac491b4ade617465b6b1c4f963e41 (diff)
Fix lint issues
-rw-r--r--js/src/scrollspy.js2
-rw-r--r--scss/_spinners.scss4
2 files changed, 3 insertions, 3 deletions
diff --git a/js/src/scrollspy.js b/js/src/scrollspy.js
index 05b6efc2c3..8537e6ec42 100644
--- a/js/src/scrollspy.js
+++ b/js/src/scrollspy.js
@@ -122,7 +122,7 @@ class ScrollSpy {
return null
})
- .filter(item => item)
+ .filter(Boolean)
.sort((a, b) => a[0] - b[0])
.forEach(item => {
this._offsets.push(item[0])
diff --git a/scss/_spinners.scss b/scss/_spinners.scss
index 98c0108e39..61f3e0a356 100644
--- a/scss/_spinners.scss
+++ b/scss/_spinners.scss
@@ -11,7 +11,7 @@
width: $spinner-width;
height: $spinner-height;
vertical-align: $spinner-vertical-align;
- border: $spinner-border-width solid currentColor;
+ border: $spinner-border-width solid currentcolor;
border-right-color: transparent;
// stylelint-disable-next-line property-disallowed-list
border-radius: 50%;
@@ -43,7 +43,7 @@
width: $spinner-width;
height: $spinner-height;
vertical-align: $spinner-vertical-align;
- background-color: currentColor;
+ background-color: currentcolor;
// stylelint-disable-next-line property-disallowed-list
border-radius: 50%;
opacity: 0;