diff options
| author | Chris Mills <cmills@mozilla.com> | 2021-03-15 20:44:30 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-15 20:44:30 +0000 |
| commit | 571c6f125b0fcf580fb42fd0cdb25c152724d738 (patch) | |
| tree | 9019116dd590d1eebe782fde7d695bedae844dd3 /files/ru/web/api/window/close/index.html | |
| parent | 1bbb4d9683edd28fc947b17804e5b882184ecfcb (diff) | |
| parent | 55ddd4454665a3c66e3d5b186bc79048468d36e7 (diff) | |
| download | translated-content-571c6f125b0fcf580fb42fd0cdb25c152724d738.tar.gz translated-content-571c6f125b0fcf580fb42fd0cdb25c152724d738.tar.bz2 translated-content-571c6f125b0fcf580fb42fd0cdb25c152724d738.zip | |
Merge pull request #174 from mdn/lex111/ru-typos
Fix typos in Russian translation
Diffstat (limited to 'files/ru/web/api/window/close/index.html')
| -rw-r--r-- | files/ru/web/api/window/close/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/ru/web/api/window/close/index.html b/files/ru/web/api/window/close/index.html index 87d7225262..860ba52331 100644 --- a/files/ru/web/api/window/close/index.html +++ b/files/ru/web/api/window/close/index.html @@ -33,7 +33,7 @@ function closeOpenedWindow() { <h3 id="Закрытие_текущего_окна">Закрытие текущего окна</h3> -<p>В прошлом, если бы вы вызвали фунцию close() объекта window, вместо вызова функции close() для созданного окна, браузер закрыл бы текущее окно, создал ли его ваш скрипт или нет. В текущее время этого не произойдет; по причинам безопасности, скриптам больше не разрешено закрывать окна, которые они не открыли. (Firefox 46.0.1: scripts can not close windows, they had not opened)</p> +<p>В прошлом, если бы вы вызвали функцию close() объекта window, вместо вызова функции close() для созданного окна, браузер закрыл бы текущее окно, создал ли его ваш скрипт или нет. В текущее время этого не произойдет; по причинам безопасности, скриптам больше не разрешено закрывать окна, которые они не открыли. (Firefox 46.0.1: scripts can not close windows, they had not opened)</p> <pre class="brush: js">function closeCurrentWindow() { window.close(); |
