Permalink
Browse files

fix: mini archives toggle 迷你归档切换问题

  • Loading branch information...
MOxFIVE committed Jan 4, 2016
1 parent a35bd2e commit c2b31d890b2e2eb6b71e5e21c736ae1a56fcd3d9
Showing with 11 additions and 2 deletions.
  1. +7 −2 layout/_partial/post-nav-button.ejs
  2. +4 −0 source/css/_partial/mobile.styl
@@ -29,10 +29,15 @@
$(".fa-bars, .fa-times").toggle();
$(".post-list").toggle(300);
if ($(".toc").length > 0) {
$("#toc, #tocButton").toggle(200);
$("#toc, #tocButton").toggle(200, function() {
if ($(".switch-area").is(":visible")) {
$("#toc, .switch-btn, .switch-area").toggle();
$("#tocButton").attr("value", valueHide);
}
})
}
else {
$(".switch-btn, .switch-area").toggle(200);
$(".switch-btn, .switch-area").fadeToggle(300);
}
})
</script>
@@ -332,6 +332,10 @@
display: none;
}
.post-list {
visibility: hidden;
}
/*多说 UA*/
.ua {
display: none !important;

0 comments on commit c2b31d8

Please sign in to comment.