From 4108520d20677c592d16656a08559cf07c8830ee Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 5 Sep 2017 11:43:16 +0200 Subject: [PATCH] Add contacts in the new menu if the user is logged in --- www/common/toolbar3.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/common/toolbar3.js b/www/common/toolbar3.js index a7824580a..d488852cc 100644 --- a/www/common/toolbar3.js +++ b/www/common/toolbar3.js @@ -699,7 +699,7 @@ define([ var pads_options = []; Config.availablePadTypes.forEach(function (p) { if (p === 'drive') { return; } - if (!Cryptpad.isLoggedIn() && Config.registeredOnlyTypes && + if (!Common.isLoggedIn() && Config.registeredOnlyTypes && Config.registeredOnlyTypes.indexOf(p) !== -1) { return; } pads_options.push({ tag: 'a',