Перейти к содержанию

MediaWiki:Common.js: различия между версиями

нет описания правки
Нет описания правки
Нет описания правки
Строка 9: Строка 9:
     content.append($('<li>').append($('<a>').attr('href', '/wiki/Контакты').attr('title', 'Заголовок 2').append($('<span>').text('Контакты'))));
     content.append($('<li>').append($('<a>').attr('href', '/wiki/Контакты').attr('title', 'Заголовок 2').append($('<span>').text('Контакты'))));
     node.before(content);
     node.before(content);
     var currentPageHref = encodeURIComponent(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');
     links.forEach(function(link) {
     links.forEach(function(link) {