Changeset - 2e583dbfcf22
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 14 years ago 2011-11-14 21:31:05
marcin@python-works.com
fixed typo in linenumber calculation on inline comments
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
rhodecode/public/js/rhodecode.js
Show inline comments
 
@@ -333,11 +333,11 @@ var getLineNo = function(tr) {
 
	var o = tr.children[0].id.split('_');
 
	var n = tr.children[1].id.split('_');
 

	
 
	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
 
}
 
\ No newline at end of file
0 comments (0 inline, 0 general)