title: remove class with coffeescript
body: <p>I want to remove the hidden class if the screen size reaches a certain size with coffeescript. Here is my current code:</p>
  
  <h2>coffeescript:</h2>
  
  <pre><code>$(window).resize "form.edit_customization", (event) =&gt;
    if $(window).width() &lt;= 768
      removeClass '.hidden'
  </code></pre>
  
  <h2>HTML:</h2>
  
  <pre><code>&lt;p class="hidden"&gt;Please use desktop or larger display when editing an event&lt;/p&gt;
  </code></pre>