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