Fix collapse method
This commit is contained in:
parent
3ea589a126
commit
0da0d14b3d
|
@ -59,7 +59,7 @@
|
|||
state = syncState(doc, state, [], callback, true)
|
||||
}
|
||||
|
||||
export function collapse (doCollapse = () => false) {
|
||||
export function collapse (callback = () => false) {
|
||||
state = syncState(doc, state, [], callback, true)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue