display buttons according to the order in application_config.js
This commit is contained in:
@@ -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();
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user