mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-13 17:14:04 +02:00
Add v5.0.1 docs. (#33973)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
(function () {
|
||||
'use strict'
|
||||
|
||||
document.querySelector('[data-bs-toggle="offcanvas"]').addEventListener('click', function () {
|
||||
document.querySelector('#navbarSideCollapse').addEventListener('click', function () {
|
||||
document.querySelector('.offcanvas-collapse').classList.toggle('open')
|
||||
})
|
||||
})()
|
||||
|
Reference in New Issue
Block a user