mirror of
https://github.com/discourse/discourse-custom-header-links.git
synced 2025-02-16 16:34:58 +00:00
Update header.html
This commit is contained in:
parent
a4b8bb0e36
commit
0b07024cc5
@ -1,7 +1,6 @@
|
|||||||
<script type="text/discourse-plugin" version="0.8.20">
|
<script type="text/discourse-plugin" version="0.8.20">
|
||||||
api.decorateWidget("home-logo:after", helper => {
|
api.decorateWidget("home-logo:after", helper => {
|
||||||
const titleVisible = helper.attrs.minimized;
|
const titleVisible = helper.attrs.minimized;
|
||||||
console.log(titleVisible);
|
|
||||||
if (titleVisible) {
|
if (titleVisible) {
|
||||||
$(".headerLink:not(.keep)").hide();
|
$(".headerLink:not(.keep)").hide();
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user