mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 16:06:16 -04:00
pad_editbar: Move commands
up for readability
This commit is contained in:
parent
fda34407f9
commit
a4652d67a0
1 changed files with 1 additions and 1 deletions
|
@ -124,6 +124,7 @@ const syncAnimation = (() => {
|
|||
|
||||
exports.padeditbar = {
|
||||
_editbarPosition: 0,
|
||||
commands: {},
|
||||
dropdowns: [],
|
||||
|
||||
init() {
|
||||
|
@ -175,7 +176,6 @@ exports.padeditbar = {
|
|||
enable: () => {
|
||||
$('#editbar').addClass('enabledtoolbar').removeClass('disabledtoolbar');
|
||||
},
|
||||
commands: {},
|
||||
registerCommand(cmd, callback) {
|
||||
this.commands[cmd] = callback;
|
||||
return this;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue