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

8 lines
145 B
JavaScript
Raw Normal View History

2017-10-19 21:22:00 +02:00
$(function () {
'use strict'
$('[data-toggle="offcanvas"]').on('click', function () {
2017-08-11 06:04:59 +02:00
$('.row-offcanvas').toggleClass('active')
2017-10-19 21:22:00 +02:00
})
})