title: Run jquery in all breakpoints except desktop
body: <p>I only have a minimal code knowledge and I'm trying to achieve something. I only want this to work on smaller devices--basically less than desktop size. this is the code I have</p>
  <pre><code>$('.menu-button').click(function() {
    var clicks = $(this).data('clicks');
    if (clicks) {
       $(&quot;body&quot;).css(&quot;overflow&quot;, &quot;auto&quot;);
    } else {
       $(&quot;body&quot;).css(&quot;overflow&quot;, &quot;hidden&quot;);
    }
    $(this).data(&quot;clicks&quot;, !clicks);
  });
  
   $('.nav-background, .nav__link, .primary-button').click(function() {
    $( &quot;.menu-button&quot; ).click();
  
  });
  </code></pre>