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

5 lines
140 B
JavaScript
Raw Normal View History

2014-02-07 19:31:08 +01:00
$(document).ready(function () {
$('[data-toggle="offcanvas"]').click(function () {
2014-02-07 19:31:08 +01:00
$('.row-offcanvas').toggleClass('active')
});
});