mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-12 00:08:59 +01:00
38ec7c4df7
Also add v4.5.0 in versions and keep README.md pointing to v4.5.0 so that there are no broken stuff.
8 lines
210 B
JavaScript
8 lines
210 B
JavaScript
(function () {
|
|
'use strict'
|
|
|
|
document.querySelector('[data-toggle="offcanvas"]').addEventListener('click', function () {
|
|
document.querySelector('.offcanvas-collapse').classList.toggle('open')
|
|
})
|
|
})()
|