update comment
This commit is contained in:
parent
6525e23c9d
commit
3b2d3a12b0
|
|
@ -1038,7 +1038,7 @@ export class Recorder {
|
||||||
];
|
];
|
||||||
|
|
||||||
this.highlight.install();
|
this.highlight.install();
|
||||||
// some frameworks erase the DOM on hydration, so periodically ensure that the highlighter is installed
|
// some frameworks erase the DOM on hydration, this ensures it's reattached
|
||||||
const recreationInterval = setInterval(() => {
|
const recreationInterval = setInterval(() => {
|
||||||
this.highlight.install();
|
this.highlight.install();
|
||||||
}, 500);
|
}, 500);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue