mdb-ui-kit/docs/examples/offcanvas/offcanvas.js

6 lines
141 B
JavaScript

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