0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-10 22:24:19 +01:00
Bootstrap/docs/examples/offcanvas/offcanvas.js
2014-04-19 17:38:00 -07:00

5 lines
140 B
JavaScript

$(document).ready(function () {
$('[data-toggle="offcanvas"]').click(function () {
$('.row-offcanvas').toggleClass('active')
});
});