mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-10 22:24:19 +01:00
d95d30029f
No more Ruby dependency and most important more than 10 times less build time (at least on Windows)!
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')
|
|
})
|
|
})()
|