mirror of
https://github.com/discourse/discourse-custom-header-links.git
synced 2025-07-01 19:02:09 +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;
|
const titleVisible = helper.attrs.minimized;
|
||||||
console.log(titleVisible);
|
console.log(titleVisible);
|
||||||
if (titleVisible) {
|
if (titleVisible) {
|
||||||
$(".headerLink:not(.keep)").fadeOut('700');
|
$(".headerLink:not(.keep)").hide();
|
||||||
} else {
|
} else {
|
||||||
$(".headerLink").fadeIn('700');
|
$(".headerLink").show();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user