diff options
Diffstat (limited to 'files/ru/web/html/element/template/index.html')
| -rw-r--r-- | files/ru/web/html/element/template/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
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 <p>Теперь, когда таблица была создана и шаблон определён, мы используем JavaScript чтобы вставить строки в таблицу. Каждая строка строится с использованием шаблона.</p> <pre class="brush:js;">// Проверяем поддерживает ли браузер тег <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> не поддерживается браузером } </pre> |
