diff options
Diffstat (limited to 'files/ru/web/javascript')
-rw-r--r-- | files/ru/web/javascript/reference/errors/stmt_after_return/index.html | 2 | ||||
-rw-r--r-- | files/ru/web/javascript/reference/global_objects/promise/index.html | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/files/ru/web/javascript/reference/errors/stmt_after_return/index.html b/files/ru/web/javascript/reference/errors/stmt_after_return/index.html index fa7d1fe660..c1d429253b 100644 --- a/files/ru/web/javascript/reference/errors/stmt_after_return/index.html +++ b/files/ru/web/javascript/reference/errors/stmt_after_return/index.html @@ -81,4 +81,4 @@ function f() { <li>{{jsxref("Statements/return", "Automatic Semicolon Insertion", "#Automatic_Semicolon_Insertion", 1)}}</li> </ul> -<div id="dc_vk_code" style="display: none;"> </div> +<div id="dc_vk_code" class="hidden"> </div> diff --git a/files/ru/web/javascript/reference/global_objects/promise/index.html b/files/ru/web/javascript/reference/global_objects/promise/index.html index c4577ab151..0c730018b3 100644 --- a/files/ru/web/javascript/reference/global_objects/promise/index.html +++ b/files/ru/web/javascript/reference/global_objects/promise/index.html @@ -131,7 +131,7 @@ new Promise(function(resolve, reject) { ... });</pre> <h3 id="Простой_пример">Простой пример</h3> -<pre class="brush: html" style="display: none;">Создать промис! +<pre class="brush: html" class="hidden">Создать промис! </pre> <pre class="brush: js">let myFirstPromise = new Promise((resolve, reject) => { @@ -151,7 +151,7 @@ myFirstPromise.then((successMessage) => { <h3 id="Продвинутый_пример">Продвинутый пример</h3> -<pre class="brush: html" style="display: none;">Создать промис! +<pre class="brush: html" class="hidden">Создать промис! </pre> <div id="log"> @@ -203,7 +203,7 @@ function testPromise() { } </pre> -<pre class="brush:js" style="display: none;">if ("Promise" in window) { +<pre class="brush:js" class="hidden">if ("Promise" in window) { btn = document.getElementById("btn"); btn.addEventListener("click",testPromise); } |