Cosmetics
This commit is contained in:
parent
ee5dbcf33e
commit
e569bcb246
21 changed files with 54 additions and 65 deletions
|
|
@ -4,7 +4,6 @@ import * as bootstrap from 'bootstrap'
|
|||
// Connects to data-controller="bs-scrollspy"
|
||||
export default class extends Controller {
|
||||
connect() {
|
||||
// console.log(this.element)
|
||||
const target = this.element.getAttribute("data-bs-scrollspy-target")
|
||||
const scrollSpy = new bootstrap.ScrollSpy(this.element, {
|
||||
target: target
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue