1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-23 12:59:11 -05:00
This commit is contained in:
slene 2014-03-20 21:24:15 +08:00
parent 47234f1031
commit c8790eb7d3
2 changed files with 3 additions and 2 deletions

View file

@ -647,6 +647,9 @@ html, body {
padding: 30px 30px 50px; padding: 30px 30px 50px;
border: none; border: none;
background-color: #FFF; background-color: #FFF;
overflow: auto;
overflow-x: auto;
overflow-y: hidden;
} }
.file-content .file-body pre { .file-content .file-body pre {

View file

@ -81,8 +81,6 @@ var Gogits = {
var last; var last;
$(document).on('click', '.lines-num span', function(){ $(document).on('click', '.lines-num span', function(){
var $e = $(this); var $e = $(this);
console.log($e.parent().siblings('.lines-code').find('ol.linenums > ' + $e.attr('rel')));
console.log('ol.linenums > ' + $e.attr('rel'));
if(last){ if(last){
last.removeClass('active'); last.removeClass('active');
} }