mirror of
https://github.com/discourse/discourse-custom-header-links.git
synced 2025-03-09 14:18:22 +00:00
Update header.html
This commit is contained in:
parent
17604f6631
commit
a4b8bb0e36
@ -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();
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user