dist/toolkit.js
function(e) {
        e.preventDefault();

        var target = $(e.target),
            selector = '[data-offcanvas-sidebar]';

        if (target.is(selector) || target.parents(selector).length) {
            return;
        }

        this.show();
    }
function(e) {
        e.preventDefault();

        var target = $(e.target),
            selector = '[data-offcanvas-sidebar]';

        if (target.is(selector) || target.parents(selector).length) {
            return;
        }

        this.show();
    }
function ( e ) { e . preventDefault ( ) ; var target = $ ( e . target ) , selector = '[data-offcanvas-sidebar]' ; if ( target . is ( selector ) || target . parents ( selector ) . length ) { return ; } this . show ( ) ; }
When swiping on the container, don't trigger a show if we are trying to hide a sidebar.

@private
@param {jQuery.Event} e
When swiping on the container don t trigger a show if we are trying to hide a sidebar .