mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-05-04 19:56:37 +02:00
Ace2Inner: Fix missing spread operator on args
This fixes a bug that was introduced in commit c38c34bef47a74467394797b34165641a87ac620.
This commit is contained in:
parent
16e6496eb4
commit
3667f2ca0e
@ -4,6 +4,8 @@
|
||||
|
||||
* Fixed a bug in the `dirty` database driver that sometimes caused Node.js to
|
||||
crash during shutdown and lose buffered database writes.
|
||||
* Fixed a regression in v1.8.8 that caused "Uncaught TypeError: Cannot read
|
||||
property '0' of undefined" with some plugins (#4885)
|
||||
|
||||
# 1.8.11
|
||||
|
||||
|
||||
@ -3894,7 +3894,7 @@ function Ace2Inner() {
|
||||
documentAttributeManager = new AttributeManager(rep, performDocumentApplyChangeset);
|
||||
|
||||
editorInfo.ace_performDocumentApplyAttributesToRange =
|
||||
(...args) => documentAttributeManager.setAttributesOnRange(args);
|
||||
(...args) => documentAttributeManager.setAttributesOnRange(...args);
|
||||
|
||||
this.init = () => {
|
||||
$(document).ready(() => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user