Update header.html

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

View File

@ -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 {