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

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

нет описания правки
Нет описания правки
Нет описания правки
Строка 1: Строка 1:
// Get the select element and the forms
// Get the select element and the forms
if (typeof(document.querySelectorAll('.createbox')) != 'undefined' && (document.querySelectorAll('.createbox')) != null)
{
var forms = document.querySelectorAll('.createbox');
var forms = document.querySelectorAll('.createbox');
if (typeof(forms ) != 'undefined' && forms != null)
{
var select = document.createElement('select');
var select = document.createElement('select');
select.id = 'select-template';
select.id = 'select-template';