|
|
|
@ -71,13 +71,35 @@ function showhelpAndScrollTo(id) {
|
|
|
|
|
{
|
|
|
|
|
cookiesave("repositories_visiable", true,'','','');
|
|
|
|
|
}
|
|
|
|
|
var information = $("#showgithelp");
|
|
|
|
|
var val = information.attr("value");
|
|
|
|
|
if(val=="show_help")
|
|
|
|
|
{
|
|
|
|
|
$("#showgithelp").text("收起Git操作指南");
|
|
|
|
|
information.attr("value", "hide_help");
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
$("#showgithelp").text("展开Git操作指南");
|
|
|
|
|
information.attr("value", "show_help");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$(function(){
|
|
|
|
|
var information = $("#showgithelp");
|
|
|
|
|
var val = information.attr("value");
|
|
|
|
|
if(cookieget("repositories_visiable") == "true")
|
|
|
|
|
{
|
|
|
|
|
$('#repos_git_more').hide();
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
$('#repos_git_more').show();
|
|
|
|
|
$("#showgithelp").text("收起Git操作指南");
|
|
|
|
|
information.attr("value", "hide_help");
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|