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

@@ -527,8 +527,10 @@ define([
stateChange(STATE.FORGOTTEN);
}));
var $tags = common.createButton('hashtag', true);
toolbar.$rightside.append($tags);
if (common.isLoggedIn()) {
var $tags = common.createButton('hashtag', true);
toolbar.$rightside.append($tags);
}
createFilePicker();