diff --git a/static/js/behavior.js b/static/js/behavior.js index f1f3fae..e88c7d3 100644 --- a/static/js/behavior.js +++ b/static/js/behavior.js @@ -401,7 +401,7 @@ if (content && key) { /* Remap the message close handler to include the clipboard flash reposition */ - $(".close").die().live('click'), function(e){ + $(".close").die().live('click', function(e){ e.preventDefault(); $(this).parent().fadeOut(function(){clip.reposition()}); });