diff --git a/module/repo/js/common.js b/module/repo/js/common.js index fc88f63bd3..a2e805f948 100644 --- a/module/repo/js/common.js +++ b/module/repo/js/common.js @@ -69,23 +69,6 @@ $(function() return false; }) - if($('#sidebar').size() > 0) - { - var fixH = $("#sidebar").offset().top; - $(window).scroll(function() - { - var scroH = $(this).scrollTop(); - if(scroH>=fixH) - { - $("#sidebar > .side-body").addClass('affix'); - } - else if(scroH .side-body").removeClass('affix'); - } - }); - } - if($("main").is(".hide-sidebar")) { $(".sidebar-toggle").children().attr("class", "icon icon-angle-left"); diff --git a/module/repo/view/ajaxsidecommits.html.php b/module/repo/view/ajaxsidecommits.html.php index 1d43ccddf0..43e29ac258 100644 --- a/module/repo/view/ajaxsidecommits.html.php +++ b/module/repo/view/ajaxsidecommits.html.php @@ -15,7 +15,7 @@ $pathInfo = '&root=' . $this->repo->encodePath(empty($path) ? '/' : $path); if(isset($entry)) $pathInfo .= '&type=file'; ?> repo->encodePath($path) . "&objectID=$objectID&type=$logType");?> -
+