Changeset - 2fed344e05dc
[Not reviewed]
default
0 1 0
Nathan Brink (binki) - 14 years ago 2011-10-20 09:05:56
ohnobinki@ohnopublishing.net
Don't hide permalink when the user tries to click on it/select it. Fixes bug #120.
1 file changed with 7 insertions and 0 deletions:
0 comments (0 inline, 0 general)
scripts/displayTables.js
Show inline comments
 
@@ -130,27 +130,34 @@ jQuery(document).ready( function()
 

	
 
	
 
	
 
	return false;
 
      });
 

	
 
      jQuery('.qTipCell').qtip(
 
       {
 
          style: {
 
            tip: true,
 
            classes: "ui-tooltip-dark ui-tooltip-shadow ui-tooltip-rounded"
 
          },
 
          hide: {
 
            event: 'mouseleave click'
 
          },
 
          position:{
 
            my: 'bottom left',
 
            at: 'top center',
 
          }
 
      });  
 

	
 
      jQuery(".clicktoclipboard").click( function() {
 
        jQuery('.toclipboard', this).toggle();
 
      });
 
      /*
 
       * Don't let the event bubble up if the user is clicking trying
 
       * to select the permalink.
 
       */
 
      jQuery('.toclipboard').click(function(e) {
 
	      e.stopPropagation();
 
	  });
 
  }
 
);
 

	
0 comments (0 inline, 0 general)