Removed unnecessary JS hack for nested list

This commit is contained in:
Sodbileg Gansukh
2023-07-03 17:37:39 +08:00
parent d75ffc78ac
commit 0e76b5abef
6 changed files with 4 additions and 18 deletions

View File

@ -1,10 +0,0 @@
(function () {
const content = document.querySelector('.gh-content');
if (!content) return;
content.querySelectorAll('ul li, ol li').forEach(function (item) {
if (item.querySelector('ul, ol')) {
item.classList.add('kg-nested-list-item');
}
});
})();