changeset 1685:2e583dbfcf22 beta

fixed typo in linenumber calculation on inline comments
author Marcin Kuzminski <marcin@python-works.com>
date Mon, 14 Nov 2011 22:31:05 +0200
parents 99ab32357262
children 6ff8bcb783e9
files rhodecode/public/js/rhodecode.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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