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
b345746b
Commit
b345746b
authored
4 years ago
by
XhmikosR
Browse files
Options
Download
Email Patches
Plain Diff
Join template literals
parent
6d86b140
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
js/src/scrollspy.js
+1
-3
js/src/scrollspy.js
with
1 addition
and
3 deletions
+1
-3
js/src/scrollspy.js
+
1
-
3
View file @
b345746b
...
@@ -70,9 +70,7 @@ class ScrollSpy {
...
@@ -70,9 +70,7 @@ class ScrollSpy {
this
.
_element
=
element
this
.
_element
=
element
this
.
_scrollElement
=
element
.
tagName
===
'
BODY
'
?
window
:
element
this
.
_scrollElement
=
element
.
tagName
===
'
BODY
'
?
window
:
element
this
.
_config
=
this
.
_getConfig
(
config
)
this
.
_config
=
this
.
_getConfig
(
config
)
this
.
_selector
=
`
${
this
.
_config
.
target
}
${
SELECTOR_NAV_LINKS
}
,`
+
this
.
_selector
=
`
${
this
.
_config
.
target
}
${
SELECTOR_NAV_LINKS
}
,
${
this
.
_config
.
target
}
${
SELECTOR_LIST_ITEMS
}
,
${
this
.
_config
.
target
}
.
${
CLASS_NAME_DROPDOWN_ITEM
}
`
`
${
this
.
_config
.
target
}
${
SELECTOR_LIST_ITEMS
}
,`
+
`
${
this
.
_config
.
target
}
.
${
CLASS_NAME_DROPDOWN_ITEM
}
`
this
.
_offsets
=
[]
this
.
_offsets
=
[]
this
.
_targets
=
[]
this
.
_targets
=
[]
this
.
_activeTarget
=
null
this
.
_activeTarget
=
null
...
...
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