# HG changeset patch # User Marcin Kuzminski # Date 2011-11-14 21:31:05 # Node ID 2e583dbfcf22b1d2f201222936debfd28870e28e # Parent 99ab323572628120ddf301e5a984853a5ebf1b8a fixed typo in linenumber calculation on inline comments diff --git a/rhodecode/public/js/rhodecode.js b/rhodecode/public/js/rhodecode.js --- a/rhodecode/public/js/rhodecode.js +++ b/rhodecode/public/js/rhodecode.js @@ -336,7 +336,7 @@ var getLineNo = function(tr) { 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