mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 00:16:15 -04:00
ace2_inner: Avoid global padeditbar
variable
This commit is contained in:
parent
b325a145d6
commit
bf831576ea
1 changed files with 2 additions and 1 deletions
|
@ -2269,7 +2269,8 @@ function Ace2Inner(editorInfo, cssManagers) {
|
||||||
};
|
};
|
||||||
|
|
||||||
const hideEditBarDropdowns = () => {
|
const hideEditBarDropdowns = () => {
|
||||||
window.parent.parent.padeditbar.toggleDropDown('none');
|
const {padeditbar} = window.parent.parent.require('ep_etherpad-lite/static/js/pad_editbar');
|
||||||
|
padeditbar.toggleDropDown('none');
|
||||||
};
|
};
|
||||||
|
|
||||||
const renumberList = (lineNum) => {
|
const renumberList = (lineNum) => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue