From 4dfd7ded500b8bb4611966613f7e6e763775e572 Mon Sep 17 00:00:00 2001 From: "web_103.2" Date: Fri, 23 Oct 2026 10:24:16 +0300 Subject: [PATCH] =?UTF-8?q?task=2017291=20|=20=D0=BF=D0=BE=D1=87=D0=B8?= =?UTF-8?q?=D0=BD=D0=B8=D0=BB=20=D1=81=D0=BE=D0=B4=D0=B5=D1=80=D0=B6=D0=B0?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wp-content/themes/hantico/assets/js/scripts.js | 17 ----------------- wp-content/themes/hantico/single-article.php | 2 +- 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/wp-content/themes/hantico/assets/js/scripts.js b/wp-content/themes/hantico/assets/js/scripts.js index a348e4c..c49d34d 100644 --- a/wp-content/themes/hantico/assets/js/scripts.js +++ b/wp-content/themes/hantico/assets/js/scripts.js @@ -600,23 +600,6 @@ document.addEventListener('DOMContentLoaded', () => { }); - // Скролл длинного содержания статей - function initScrollableToc() { - const list = document.querySelector('.article-toc__list'); - if (!list) return; - function updateScrollableState() { - const isScrollable = list.scrollHeight > list.clientHeight; - list.classList.toggle('is-scrollable', isScrollable); - } - updateScrollableState(); - window.addEventListener('resize', updateScrollableState); - if (document.fonts) { - document.fonts.ready.then(updateScrollableState); - } - } - initScrollableToc(); - - // AJAX-фильтр статей function initArticlesFilter() { const filter = document.querySelector('.articles-filter'); diff --git a/wp-content/themes/hantico/single-article.php b/wp-content/themes/hantico/single-article.php index c7f6f7f..5d75153 100644 --- a/wp-content/themes/hantico/single-article.php +++ b/wp-content/themes/hantico/single-article.php @@ -134,7 +134,7 @@
Содержание
-