Skip to content

Navbar with dropdown menus will not work. #37551

Discussion options

You must be logged in to vote

In your <script src="https://cdn.jsdelivr.net/npm/bootstrap/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script> you probably kept the previous value of integrity.

It generates a log in the Dev Tools: None of the "sha384" hashes in the integrity attribute match the content of the subresource.

Replace by <script src="https://cdn.jsdelivr.net/npm/bootstrap/dist/js/bootstrap.bundle.min.js" integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4" crossorigin="anonymous"></script> and it works

My advice would be to use rather <script src="https://cdn.jsdelivr.net/npm/bo…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@Vijayamrav
Comment options

Answer selected by mdo
Comment options

You must be logged in to vote
3 replies
@julien-deramond
Comment options

@mejia-b
Comment options

@Alex-Toucan
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants