This commit is contained in:
slene 2014-03-23 22:47:46 +08:00
parent 8b43bd1c37
commit dd12d0cf82

View file

@ -198,7 +198,6 @@ var Gogits = {
var $first = $list.filter('.'+m[1]); var $first = $list.filter('.'+m[1]);
selectRange($list, $first, $list.filter('.'+m[2])); selectRange($list, $first, $list.filter('.'+m[2]));
$("html, body").scrollTop($first.offset().top-200); $("html, body").scrollTop($first.offset().top-200);
console.log($first.offset().top);
return; return;
} }
m = window.location.hash.match(/^#(L\d+)$/); m = window.location.hash.match(/^#(L\d+)$/);