diff options
Diffstat (limited to 'files/ru/web/api/clients/openwindow')
-rw-r--r-- | files/ru/web/api/clients/openwindow/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/files/ru/web/api/clients/openwindow/index.html b/files/ru/web/api/clients/openwindow/index.html index a1f6ba58c9..d826c65b06 100644 --- a/files/ru/web/api/clients/openwindow/index.html +++ b/files/ru/web/api/clients/openwindow/index.html @@ -22,7 +22,7 @@ translation_of: Web/API/Clients/openWindow <h2 id="Синтаксис">Синтаксис</h2> -<pre class="syntaxbox notranslate">self.clients.openWindow(<em>url</em>).then(function(<em>windowClient</em>) { +<pre class="syntaxbox">self.clients.openWindow(<em>url</em>).then(function(<em>windowClient</em>) { // Do something with your WindowClient });</pre> @@ -41,7 +41,7 @@ translation_of: Web/API/Clients/openWindow <h2 id="Примеры">Примеры</h2> -<pre class="brush: js notranslate">// Отправить уведомление в OS, если возможно +<pre class="brush: js">// Отправить уведомление в OS, если возможно if (self.Notification.permission === 'granted') { const notificationObject = { body: 'Click here to view your messages.', |