Changeset - 8cca07df79dd
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 15 years ago 2011-05-08 20:11:26
marcin@python-works.com
fixed small bug in selection links when sorting messes up for <10 numbers
1 file changed with 3 insertions and 2 deletions:
0 comments (0 inline, 0 general)
rhodecode/templates/files/files_source.html
Show inline comments
 
@@ -132,14 +132,15 @@ YUE.onDOMReady(function(){
 
            if (f_int > t_int){
 
            	//highlight from bottom 
 
            	offset = -35;
 
            	ranges = [t_int,f_int];
 
            	
 
            }
 
            else{
 
            	//highligth from top 
 
            	offset = 35;
 
            	ranges = [f_int,t_int];
 
            }
 
            
 
            ranges = [f_int,t_int].sort();
 
            
 
            if (ranges[0] != ranges[1]){
 
	            if(YUD.get('linktt') == null){
 
	                hl_div = document.createElement('div');
0 comments (0 inline, 0 general)