title: Unable to preventDefault inside passive event listener jQuery Mobile
body: <p>I have using jQuery Mobile v1.5.0 to make menu open on swipe all is working fine but this error is always there, i have try to add addEventListener example:</p>
  
  <pre><code>// open menu on swipe to right
  $(document).on('swiperight', function(e) {
      document.addEventListener("swiperight", e.preventDefault(), {passive: false} );
      e.preventDefault()
      $('.menu').addClass('active');
  });
  </code></pre>
  
  <p>But error is still there</p>
  
  <pre><code>Unable to preventDefault inside passive event listener due to target being treated as passive.
  </code></pre>
  
  <p>Code:</p>
  
  <pre><code>// open menu on swipe to right
  $(document).on('swiperight', function(e) {
      e.preventDefault()
      $('.menu').addClass('active');
  });
  </code></pre>