resume with time offset when after wait stylesheet load

This commit is contained in:
Yanzhen Yu
2019-04-09 16:57:20 +08:00
parent dcc7b925fe
commit faed623986
4 changed files with 6 additions and 5 deletions

View File

@@ -156,7 +156,7 @@ function initMutationObserver(
: mirror.getId(n.previousSibling as INode),
nextId: !n.nextSibling
? n.nextSibling
: mirror.getId(n.nextSibling as INode),
: mirror.getId((n.nextSibling as unknown) as INode),
node: serializeNodeWithId(n, document, mirror.map, blockClass, true)!,
});
} else {