# HG changeset patch # User Marcin Kuzminski # Date 1321302665 -7200 # Node ID 2e583dbfcf22b1d2f201222936debfd28870e28e # Parent 99ab323572628120ddf301e5a984853a5ebf1b8a fixed typo in linenumber calculation on inline comments diff -r 99ab32357262 -r 2e583dbfcf22 rhodecode/public/js/rhodecode.js --- a/rhodecode/public/js/rhodecode.js Mon Nov 14 22:24:07 2011 +0200 +++ b/rhodecode/public/js/rhodecode.js Mon Nov 14 22:31:05 2011 +0200 @@ -336,7 +336,7 @@ if (n.length >= 2) { line = n[n.length-1]; } else if (o.length >= 2) { - line = o[n.length-1]; + line = o[o.length-1]; } return line