mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
pad_editbar: Remove unnecessary syncAnimationFn
variable
This commit is contained in:
parent
4b4eef5f4a
commit
ee996f530f
1 changed files with 2 additions and 3 deletions
|
@ -79,7 +79,7 @@ ToolbarItem.prototype.bind = function (callback) {
|
||||||
|
|
||||||
|
|
||||||
const padeditbar = (() => {
|
const padeditbar = (() => {
|
||||||
const syncAnimationFn = () => {
|
const syncAnimation = (() => {
|
||||||
const SYNCING = -100;
|
const SYNCING = -100;
|
||||||
const DONE = 100;
|
const DONE = 100;
|
||||||
let state = DONE;
|
let state = DONE;
|
||||||
|
@ -122,8 +122,7 @@ const padeditbar = (() => {
|
||||||
animator.scheduleAnimation();
|
animator.scheduleAnimation();
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
};
|
})();
|
||||||
const syncAnimation = syncAnimationFn();
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
_editbarPosition: 0,
|
_editbarPosition: 0,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue