Hide the tags button for anonymous users

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

No files matched your search

+4 -2
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();