title: Hiding Submit Button with offline.js
body: <p>I am using <a href="https://github.com/hubspot/offline" rel="nofollow noreferrer">offline.js</a> (0.7.18) and its working fine, when I go on/offline the indicator changes state, all good so far.</p>
  
  <p>I can also see on <a href="http://craigshoemaker.github.io/offlinejs-simulate-ui/" rel="nofollow noreferrer">Offline JS Simulate UI</a>, that a login panel is having its style toggled between display:block and display:none when on/offline is triggered.  But I can't discover how this works.</p>
  
  <p>I want to hide a 'Submit' button when offline is triggered.</p>