This commit is contained in:
caoyanyi
2022-06-22 13:49:31 +08:00
parent 2b94fe3a83
commit dee75b05f1
2 changed files with 1 additions and 18 deletions
-17
View File
@@ -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<fixH)
{
$("#sidebar > .side-body").removeClass('affix');
}
});
}
if($("main").is(".hide-sidebar"))
{
$(".sidebar-toggle").children().attr("class", "icon icon-angle-left");
+1 -1
View File
@@ -15,7 +15,7 @@ $pathInfo = '&root=' . $this->repo->encodePath(empty($path) ? '/' : $path);
if(isset($entry)) $pathInfo .= '&type=file';
?>
<?php js::set('paramsBase', "repoID=$repoID&path=" . $this->repo->encodePath($path) . "&objectID=$objectID&type=$logType");?>
<form id='logForm' class='main-table' data-ride='table' method='post' onsubmit='logsubmit()'>
<form id='logForm' class='main-table' method='post' onsubmit='logsubmit()'>
<table class='table table-fixed'>
<thead>
<tr>