# HG changeset patch # User dellsystem # Date 1350095675 14400 # Node ID c3c4aaccbcd05a59c85e7dcac7b5f93da70e3c1c # Parent 2a2078bd334c862c344154ad1a33068fe94b37bb Return false when clicking "Highlight code" link Prevents the browser from treating it as an actual hyperlink diff -r 2a2078bd334c -r c3c4aaccbcd0 static/js/agora.js --- a/static/js/agora.js Fri Oct 12 22:13:04 2012 -0400 +++ b/static/js/agora.js Fri Oct 12 22:34:35 2012 -0400 @@ -62,6 +62,8 @@ // Highlight the code when the link is clicked $('.highlight-code-lines').click(function () { $('.code-lines').selectText(); + + return false; }); }); })(jQuery);