aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--files/ru/web/api/element/outerhtml/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/ru/web/api/element/outerhtml/index.html b/files/ru/web/api/element/outerhtml/index.html
index eebca14905..de47237dc3 100644
--- a/files/ru/web/api/element/outerhtml/index.html
+++ b/files/ru/web/api/element/outerhtml/index.html
@@ -64,7 +64,7 @@ console.log(container.firstChild.nodeName); // логирует "P"
<pre class="brush: js">document.documentElement.outerHTML = "test"; // бросает DOMException
</pre>
-<p>Also, while the element will be replaced in the document, the variable whose <code>outerHTML</code> property was set will still hold a reference to the original element:</p>
+<p>Обратите внимание, когда произойдёт изменение элемента в документе, переменная, у которой было установлено свойство <code>outerHTML</code>, будет по-прежнему хранить ссылку на оригинальный элемент:</p>
<pre class="brush: js">var p = document.getElementsByTagName("p")[0];
console.log(p.nodeName); // показывает: "P"