diff --git a/js/src/scrollspy.js b/js/src/scrollspy.js index 05b6efc2c344..8537e6ec42fb 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 98c0108e3955..61f3e0a356f7 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;