0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-02 14:24:19 +01:00
Bootstrap/docs/4.0/examples/offcanvas/offcanvas.js

8 lines
145 B
JavaScript

$(function () {
'use strict'
$('[data-toggle="offcanvas"]').on('click', function () {
$('.row-offcanvas').toggleClass('active')
})
})