title: Why does a Bootstrap modal not fire in a button, but only with Firefox?
body: <p>I'm putting up a Bootstrap "split button" modal, which looks something like this:</p>
  
  <pre><code>&lt;div class="btn-group"&gt;
    &lt;button class="btn btn-small btn-primary"&gt;
      &lt;a tabindex="-1" href="#" class="ajax-modal" 
         data-target="modal_vr-comment-form" data-backdrop="true" 
         data-controls-modal="res-modal" data-keyboard="true" 
         url="/some-url"&gt;Do the thing&lt;/a&gt;
    &lt;/button&gt;
    &lt;button class="btn btn-small dropdown-toggle btn-primary" data-toggle="dropdown"&gt;
      &lt;span class="caret"&gt;&lt;/span&gt;
    &lt;/button&gt;
    &lt;ul class="dropdown-menu pull-right"&gt;
      &lt;li&gt;&lt;a tabindex="-1" href="#" class="ajax-modal" 
             data-target="modal_vr-comment-form" data-backdrop="true" 
             data-controls-modal="res-modal" data-keyboard="true"
             url="/some-url"&gt;Do the thing&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a tabindex="-1" href="/comment/something-else"&gt;Do something else&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a tabindex="-1" href="#" class="ajax-modal" 
             data-target="modal_unhide-people" data-backdrop="true" 
             data-controls-modal="res-modal" data-keyboard="true" 
             url="/comment/do-another-thing"&gt;Do another thing...&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>The thing of interest here is that the "Do the thing" action is presented in two ways: As an action to be taken when the main button is clicked, and as an action to be taken when an item in the dropdown menu is selected.  These actions are set up as click handlers on the <code>&lt;a&gt;</code> tags in the split button, via some javascript init-ing.</p>
  
  <p>Both actions work fine in Chrome and Safari.  However, in Firefox, the action attached to the button does NOT fire, while the action attached to the link does.  Some poking around during execution reveals that the click handler on the button is not firing, although it's definitely getting set up.</p>
  
  <p>Any ideas out there about why this is (happening)?  Thanks!</p>