提交 0dc9bf96 编写于 作者: J Jason Park

hide fork-me-on-github when sidemenu are hidden

上级 1a19ce43
......@@ -124,10 +124,12 @@ $('#navigation').click(function () {
if ($sidemenu.hasClass('active')) {
$sidemenu.css('right', (100 - sidemenu_percent) + '%');
$workspace.css('left', sidemenu_percent + '%');
$('.github-fork-ribbon').css('visibility', 'visible');
} else {
sidemenu_percent = $workspace.position().left / $('body').width() * 100;
$sidemenu.css('right', 0);
$workspace.css('left', 0);
$('.github-fork-ribbon').css('visibility', 'hidden');
}
_tracer.resize();
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册