aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSemenSavlook <semensavluk@gmail.com>2022-02-22 20:38:10 +0600
committerGitHub <noreply@github.com>2022-02-22 17:38:10 +0300
commit371ce8c594401c866e65445e9215522666bc6a10 (patch)
tree7aa3c93bcedc1e1cf6c402fdd72032baadfcb730
parent6e9fe98036090a37cc6247b873845505e5b512fb (diff)
downloadtranslated-content-371ce8c594401c866e65445e9215522666bc6a10.tar.gz
translated-content-371ce8c594401c866e65445e9215522666bc6a10.tar.bz2
translated-content-371ce8c594401c866e65445e9215522666bc6a10.zip
RU: Added translation, in the last paragraph. (#4239)
-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"