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

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

нет описания правки
Нет описания правки
Нет описания правки
Строка 1: Строка 1:
// Get the select element and the forms
// Get the select element and the forms
var currentPageHref = decodeURI(window.location.href);
var currentPageHref = decodeURI(window.location.href);
var test = 'test';
var test = 'Главная';
if (test.indexOf(currentPageHref ) > -1) {
if (test.indexOf(currentPageHref ) > -1) {
console.log('yes');
console.log('yes');