Add a 'settings' link to the user menu in static pages

This commit is contained in:
yflory committed 2017-03-02 16:38:22 +01:00
1 parent 370ae81106
commit 9a7c2dd5e2
1 file changed
+1 -1
+1 -1
View File
@@ -1199,7 +1199,7 @@ define([
content: Messages.user_rename
});
}
if (parsed && parsed.type && parsed.type !== 'settings') {
if (parsed && (!parsed.type || parsed.type !== 'settings')) {
options.push({
tag: 'a',
attributes: {'class': 'settings'},