From 9a7c2dd5e2f437c168bc1603ea81bbb16ba5d124 Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 2 Mar 2017 16:38:22 +0100 Subject: [PATCH] Add a 'settings' link to the user menu in static pages --- www/common/cryptpad-common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/common/cryptpad-common.js b/www/common/cryptpad-common.js index b07adc422..6660cac5b 100644 --- a/www/common/cryptpad-common.js +++ b/www/common/cryptpad-common.js @@ -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'},