diff --git a/packages/rrweb-snapshot/src/snapshot.ts b/packages/rrweb-snapshot/src/snapshot.ts index 0c2f336f83..2a4b1045d0 100644 --- a/packages/rrweb-snapshot/src/snapshot.ts +++ b/packages/rrweb-snapshot/src/snapshot.ts @@ -489,7 +489,7 @@ function serializeNode( newlyAddedElement?: boolean; blankTextNodes?: boolean; /** - * Called when an asset is detected. + * Called when an asset is encountered while serializing * Example of assets: * - `src` attribute in `img` tags. * - `srcset` attribute in `img` tags. @@ -653,7 +653,7 @@ function serializeElementNode( newlyAddedElement?: boolean; rootId: number | undefined; /** - * Called when an asset is detected. + * Called when an asset is encountered while serializing * Example of assets: * - `src` attribute in `img` tags. * - `srcset` attribute in `img` tags.