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

6 lines
141 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')
});
});