title: tooltip overlay not disappearing when clicked
body: <p>I am very new to jquery and am running into a bug. Whenever I hover over a button on my page, it brings up a small tooltip. When I move the mouse, it disappears. However, if I click the button, the tooltip gets stuck and Im not sure why. It just stays there until I reload the page. Here is the code:</p>
  
  <h1>_controls.html.erb</h1>
  
  <pre><code>    &lt;%= link_to 'Abandoned', priority, :class =&gt; 'abandoned', :'data-status' =&gt; 'abandoned',
                              :title =&gt; 'Mark as ABANDONED', :rel =&gt; 'tipsy' %&gt;
      &lt;%= link_to 'New', priority, :class =&gt; 'new', :'data-status' =&gt; 'new',
                              :title =&gt; 'Mark as NEW', :rel =&gt; 'tipsy' %&gt;
      &lt;%= link_to 'Started', priority, :class =&gt; 'started', :'data-status' =&gt; 'started',
                              :title =&gt; 'Mark as STARTED', :rel =&gt; 'tipsy' %&gt;
      &lt;%= link_to 'Completed', priority, :class =&gt; 'completed', :'data-status' =&gt; 'completed',
                              :title =&gt; 'Mark as COMPLETED', :rel =&gt; 'tipsy' %&gt;
  &lt;/div&gt;
  </code></pre>
  
  <h1>part of priority jquery js file</h1>
  
  <pre><code>...
  jQuery.fn.priority = function()
  {
      var priority = this;
  
      priority.bind('click', function(event) {
          event.stopPropagation();
          priority.selectPriority();
      });
  
      priority.bind('unselected', function() {
          priority.find('a.more').tipsy('hide');
      });
  
  ...
  
  jQuery.fn.selectPriority = function()
  {
      $('.priority.selected').not(this).unselectPriority();
      this.addClass('selected');
  };
  
  jQuery.fn.unselectPriority = function()
  {
      this.triggerHandler('unselected');
      this.removeClass('selected');
  };
  </code></pre>
  
  <p>any ideas why the tooltip overlay isn't disappearing after the button gets clicked?</p>
  
  <p>PS I didn't write this code I am just trying to debug it. Let me know if this isn't the right code for where the tooltip is located.</p>
  
  <p>UPDATE: the tooltip only gets stuck sometimes. I removed event.stopPropagation(); and it still happened.</p>