Hide the tags button for anonymous users

This commit is contained in:
yflory
2017-12-19 11:58:45 +01:00
parent 4cf3e0edf8
commit cfc9ce33d6
4 changed files with 13 additions and 8 deletions

View File

@@ -140,8 +140,10 @@ define([
}))
.append(common.createButton('forget', true, {}, function () {
// not sure what to do here
}))
.append(common.createButton('hashtag', true));
}));
if (common.isLoggedIn()) {
toolbar.$rightside.append(common.createButton('hashtag', true));
}
rightsideDisplayed = true;
}