comparison rhodecode/templates/files/files_source.html @ 1035:59b7131c15b1 beta

removed console log from tempalte that breaks the js
author Marcin Kuzminski <marcin@python-works.com>
date Sat, 12 Feb 2011 18:16:15 +0100
parents 6e070138d173
children 6ec53c16c744
comparison
equal deleted inserted replaced
1034:9e59b16d1b48 1035:59b7131c15b1
44 %endif 44 %endif
45 45
46 <script type="text/javascript"> 46 <script type="text/javascript">
47 function highlight_lines(lines){ 47 function highlight_lines(lines){
48 for(pos in lines){ 48 for(pos in lines){
49 console.log('L'+lines[pos]);
50 YUD.setStyle('L'+lines[pos],'background-color','#FFFFBE'); 49 YUD.setStyle('L'+lines[pos],'background-color','#FFFFBE');
51 } 50 }
52 } 51 }
53 page_highlights = location.href.substring(location.href.indexOf('#')+1).split('L'); 52 page_highlights = location.href.substring(location.href.indexOf('#')+1).split('L');
54 if (page_highlights.length == 2){ 53 if (page_highlights.length == 2){