Line 17: | Line 17: | ||
}); | }); | ||
− | $( | + | $('body').on('swiperight', function(){ |
$('#sidebar').trigger('offcanvas.show'); | $('#sidebar').trigger('offcanvas.show'); | ||
}); | }); | ||
− | $( | + | $('#sidebar').on('swipeleft', function(){ |
$('#sidebar').trigger('offcanvas.hide'); | $('#sidebar').trigger('offcanvas.hide'); | ||
}); | }); |
Revision as of 16:36, 1 November 2017