mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-15 21:25:28 +01:00
This commit is contained in:
parent
b4cadcd729
commit
0bd806b4fc
1 changed files with 1 additions and 1 deletions
|
|
@ -294,7 +294,7 @@ export class Protyle {
|
|||
|
||||
private onTransaction(data: IWebSocketData) {
|
||||
if (!this.protyle.preview.element.classList.contains("fn__none") &&
|
||||
data.context.rootIDs.includes(this.protyle.block.rootID)) {
|
||||
data.context?.rootIDs?.includes(this.protyle.block.rootID)) {
|
||||
this.protyle.preview.render(this.protyle);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue