Skip to content

Commit f0e848a

Browse files
committed
minor
1 parent f75439f commit f0e848a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

2-ui/99-ui-misc/01-mutation-observer/article.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -207,13 +207,13 @@ let demoElem = document.getElementById('highlight-demo');
207207
observer.observe(demoElem, {childList: true, subtree: true});
208208
```
209209

210-
Here's an HTML-element and JavaScript that dynamically fills it using `innerHTML`.
210+
Here, below, there's an HTML-element and JavaScript that dynamically fills it using `innerHTML`.
211211

212212
Please run the previous code (above, observes that element), and then the code below. You'll see how `MutationObserver` detects and highlights the snippet.
213213

214-
<p id="highlight-demo" style="border: 1px solid #ddd">Демо-элемент с <code>id="highlight-demo"</code>, за которым следит код примера выше.</p>
214+
<p id="highlight-demo" style="border: 1px solid #ddd">A demo-element with <code>id="highlight-demo"</code>, run the code above to observe it.</p>
215215

216-
The code below populates `innerHTML`. Please run the code above first, it will watch and highlight the new content:
216+
The following code populates its `innerHTML`. Please run the code above first, it will watch and highlight the new content:
217217

218218
```js run
219219
let demoElem = document.getElementById('highlight-demo');

0 commit comments

Comments
 (0)