Line 18: | Line 18: | ||
$(window).on('swiperight', function(){ | $(window).on('swiperight', function(){ | ||
− | $('#sidebar').trigger('offcanvas. | + | $('#sidebar').trigger('offcanvas.toggle'); |
}); | }); | ||
$(window).on('swipeleft', function(){ | $(window).on('swipeleft', function(){ | ||
− | $('#sidebar').trigger('offcanvas. | + | $('#sidebar').trigger('offcanvas.toggle'); |
}); | }); | ||
Revision as of 16:40, 1 November 2017