udemy-go-web-1/static/admin/js/off-canvas.js

8 lines
185 B
JavaScript

(function($) {
'use strict';
$(function() {
$('[data-toggle="offcanvas"]').on("click", function() {
$('.sidebar-offcanvas').toggleClass('active')
});
});
})(jQuery);