Update header.html

This commit is contained in:
Joe 2018-06-24 16:20:52 +08:00 committed by GitHub
parent 17604f6631
commit a4b8bb0e36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,9 +3,9 @@ api.decorateWidget("home-logo:after", helper => {
const titleVisible = helper.attrs.minimized;
console.log(titleVisible);
if (titleVisible) {
$(".headerLink:not(.keep)").fadeOut('700');
$(".headerLink:not(.keep)").hide();
} else {
$(".headerLink").fadeIn('700');
$(".headerLink").show();
}
});