title: .click function only works with breakpoint
body: <p><code>enter code here</code>I have a clickover box, and inside this box I have a button.  WHen the popover isShown, I setthe .click function through javascript.  The click function only gets called when I put a breakpoint on the </p>
  
  <pre><code>$("#button").click(function (event)
  </code></pre>
  
  <p><a href="http://www.leecarmichael.com/bootstrapx-clickover/examples.html" rel="nofollow">http://www.leecarmichael.com/bootstrapx-clickover/examples.html</a></p>
  
  <p>Any ideas would be greatly appreciated</p>
  
  <pre><code>    $('.socialMediaEnabled .btn-palette-checkbox-unchecked').clickover(
      {
          //      auto_close: 3 * 1000,
          width: 170, height: 80,
          placement: 'right',
          onShown: function () {  button.init(); }
      })
  
  
  var button= function (credentials, url) 
  {
      this.init = function () 
      {
          //facebook
          $("#button").attr('onclick', '').unbind('click');
          $("#button").click(function (event) 
          {
  
  
          }
      }
  
  }
  </code></pre>