mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-12 00:08:59 +01:00
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')
|
|
})
|
|
}())
|