title: Rails and data-disable-with not working with Safari
body: <pre><code>&lt;%= f.button :button, 'Move', class: "btn btn-warning", data: { disable_with: "&lt;i class='fa fa-spinner fa-spin'&gt;&lt;/i&gt; Moving…"} %&gt;
  </code></pre>
  
  <p>This works fine in Chrome but fails in Safari.  This works on links but not on buttons or submits.  There seems to be a few posts on this but no definitive answer.  My webpage console is not throwing any JS errors etc.</p>
  
  <p>The button is actually disabled (you can see the 'do not enter' icon hover for a moment after you click the button) but the text does not change.</p>
  
  <p>I can probably live with this but it would be nice to resolve it.</p>