diff --git a/customize.dist/application_config.js b/customize.dist/application_config.js index d7e9141c1..e4561df24 100644 --- a/customize.dist/application_config.js +++ b/customize.dist/application_config.js @@ -4,7 +4,7 @@ define(function() { /* Select the buttons displayed on the main page to create new collaborative sessions * Existing types : pad, code, poll, slide */ - config.availablePadTypes = ['pad', 'code', 'poll', 'slide']; + config.availablePadTypes = ['pad', 'code', 'slide', 'poll']; return config; }); diff --git a/customize.dist/main.js b/customize.dist/main.js index 2622eef1b..732bce4b8 100644 --- a/customize.dist/main.js +++ b/customize.dist/main.js @@ -28,8 +28,9 @@ define([ var forgetPad = Cryptpad.forgetPad; var displayCreateButtons = function () { + var $parent = $('#buttons'); Config.availablePadTypes.forEach(function (el) { - $('#create-' + el).show(); + $('#create-' + el).detach().appendTo($parent).show(); }); };