diff --git a/root/static/js/syntaxhighlighter.js b/root/static/js/syntaxhighlighter.js index b16b8290af0..4227a88ed85 100644 --- a/root/static/js/syntaxhighlighter.js +++ b/root/static/js/syntaxhighlighter.js @@ -211,6 +211,9 @@ $(function () { line.contents().wrap(''); var link = line.children('a'); link.click(function(e) { + if (e.metaKey) { + return false; + } // normally the browser would update the url and scroll to // the the link. instead, update the hash ourselves, but // unset the id first so it doesn't scroll