|
|
@ -699,7 +699,7 @@ define([
|
|
|
|
var pads_options = [];
|
|
|
|
var pads_options = [];
|
|
|
|
Config.availablePadTypes.forEach(function (p) {
|
|
|
|
Config.availablePadTypes.forEach(function (p) {
|
|
|
|
if (p === 'drive') { return; }
|
|
|
|
if (p === 'drive') { return; }
|
|
|
|
if (!Cryptpad.isLoggedIn() && Config.registeredOnlyTypes &&
|
|
|
|
if (!Common.isLoggedIn() && Config.registeredOnlyTypes &&
|
|
|
|
Config.registeredOnlyTypes.indexOf(p) !== -1) { return; }
|
|
|
|
Config.registeredOnlyTypes.indexOf(p) !== -1) { return; }
|
|
|
|
pads_options.push({
|
|
|
|
pads_options.push({
|
|
|
|
tag: 'a',
|
|
|
|
tag: 'a',
|
|
|
|