From 57e0abae4196d5e89486fa87171e12dd14f78584 Mon Sep 17 00:00:00 2001 From: Alexey Pyltsyn Date: Thu, 18 Mar 2021 02:37:24 +0300 Subject: Fix various typos (#203) * Fix various typos * Auto fixes * Apply suggestions from code review Co-authored-by: Artem Shibakov * Apply suggestions from code review Co-authored-by: Artem Shibakov Co-authored-by: Artem Shibakov --- files/ru/web/html/element/template/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'files/ru/web/html/element/template') diff --git a/files/ru/web/html/element/template/index.html b/files/ru/web/html/element/template/index.html index 7b45766c33..1f8131817d 100644 --- a/files/ru/web/html/element/template/index.html +++ b/files/ru/web/html/element/template/index.html @@ -79,7 +79,7 @@ translation_of: Web/HTML/Element/template

Теперь, когда таблица была создана и шаблон определён, мы используем JavaScript чтобы вставить строки в таблицу. Каждая строка строится с использованием шаблона.

// Проверяем поддерживает ли браузер тег <template>
-// проверив наличие аттрибута content у элемента template
+// проверив наличие атрибута content у элемента template
 if ('content' in document.createElement('template')) {
 
   // Instantiate the table with the existing HTML tbody and the row with the template
@@ -103,7 +103,7 @@ if ('content' in document.createElement('template')) {
 
 } else {
   // необходимо найти другой способ добавить строку в таблицу т.к.
-  // тег <template> не поддерживатся браузером
+  // тег <template> не поддерживается браузером
 }
 
-- cgit v1.2.3-54-g00ecf