mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 00:16:15 -04:00
pad_editbar: Deprecate the toggleDropDown
callback
This commit is contained in:
parent
c629ee09a8
commit
ee41de4809
2 changed files with 4 additions and 2 deletions
|
@ -200,7 +200,9 @@ exports.padeditbar = {
|
|||
}
|
||||
if (padeditor.ace) padeditor.ace.focus();
|
||||
},
|
||||
toggleDropDown(moduleName, cb) {
|
||||
|
||||
// cb is deprecated (this function is synchronous so a callback is unnecessary).
|
||||
toggleDropDown(moduleName, cb = null) {
|
||||
let cbErr = null;
|
||||
try {
|
||||
// do nothing if users are sticked
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue