MediaWiki:Common.js: Difference between revisions

From Vintage Story Wiki
no edit summary
No edit summary
No edit summary
Line 78: Line 78:
if(children[0].children.length > 0)
if(children[0].children.length > 0)
children.push.apply(children[0], children[0].children);
children.push.apply(children[0], children[0].children);
alert(children);
children.shift();
children.shift();
alert(children);
}
}
Confirmedusers, editor, Administrators
886

edits