589
правок
User (обсуждение | вклад) Нет описания правки |
User (обсуждение | вклад) Нет описания правки |
||
| Строка 44: | Строка 44: | ||
content.appendChild(li); | content.appendChild(li); | ||
}); | }); | ||
node.parentNode.insertBefore(content, node); | <!-- node.parentNode.insertBefore(content, node); --> | ||
var currentPageHref = decodeURI(window.location.href); | var currentPageHref = decodeURI(window.location.href); | ||
var links = document.querySelectorAll('.custom-top-menu a'); | var links = document.querySelectorAll('.custom-top-menu a'); | ||