aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/api/windoweventhandlers/onbeforeunload
diff options
context:
space:
mode:
authorAlexey Pyltsyn <lex61rus@gmail.com>2021-10-20 13:28:52 +0300
committerGitHub <noreply@github.com>2021-10-20 13:28:52 +0300
commit1386fed7d38652d5848d315927e7e23a66cffd13 (patch)
treeeb4b9adfec3f46c77304a1b9461d44357c8164c8 /files/ru/web/api/windoweventhandlers/onbeforeunload
parentb0f32a46245b1033098a5a9826a7818fa4e65dde (diff)
downloadtranslated-content-1386fed7d38652d5848d315927e7e23a66cffd13.tar.gz
translated-content-1386fed7d38652d5848d315927e7e23a66cffd13.tar.bz2
translated-content-1386fed7d38652d5848d315927e7e23a66cffd13.zip
[RU] Remove `name` attribute from headings (#2788)
Diffstat (limited to 'files/ru/web/api/windoweventhandlers/onbeforeunload')
-rw-r--r--files/ru/web/api/windoweventhandlers/onbeforeunload/index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/files/ru/web/api/windoweventhandlers/onbeforeunload/index.html b/files/ru/web/api/windoweventhandlers/onbeforeunload/index.html
index 4c1dec554f..53bb02af49 100644
--- a/files/ru/web/api/windoweventhandlers/onbeforeunload/index.html
+++ b/files/ru/web/api/windoweventhandlers/onbeforeunload/index.html
@@ -15,7 +15,7 @@ translation_of: Web/API/WindowEventHandlers/onbeforeunload
<p><strong>Примечание:</strong> Для борьбы с нежелательными всплывающими окнами, некоторые браузеры не отображают текст передаваемый в beforeunload событии, если они не связаны с самой страницей; некоторые не показывают их вообще. Список конкретных браузеров смотрите в секции: {{anch("Совместимость_с_браузерами")}}.</p>
</div>
-<h2 id="Syntax" name="Syntax">Синтаксис</h2>
+<h2 id="Syntax">Синтаксис</h2>
<pre class="syntaxbox">window.onbeforeunload = <var>funcRef</var></pre>
@@ -24,7 +24,7 @@ translation_of: Web/API/WindowEventHandlers/onbeforeunload
<li>Функция должна назначать строковое значение свойству <code>returnValue</code> объекта Event и возвращать ту же строку.</li>
</ul>
-<h2 id="Example" name="Example">Пример</h2>
+<h2 id="Example">Пример</h2>
<pre class="brush:js">window.onbeforeunload = function(e) {
  var dialogText = 'Dialog text here';
@@ -80,7 +80,7 @@ translation_of: Web/API/WindowEventHandlers/onbeforeunload
<div id="compat-mobile"> </div>
-<h2 id="See also" name="See also">Смотрите также</h2>
+<h2 id="See also">Смотрите также</h2>
<ul>
<li><a href="http://msdn.microsoft.com/en-us/library/ms536907(VS.85).aspx">MSDN: onbeforeunload event</a></li>