MediaWiki:Tabs.js: Difference between revisions

Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
mNo edit summary
mNo edit summary
Line 17: Line 17:
/* Move from tabcontents ul to tab ul */
/* Move from tabcontents ul to tab ul */
destinations[i].firstChild.appendChild(tabs[j].firstChild);
destinations[i].firstChild.appendChild(tabs[j].firstChild);
console.log(destinations[i].firstchild);
console.log(destinations[i].firstChild);
/* Remove the now empty tabcontents ul */
/* Remove the now empty tabcontents ul */
tabcontents[i].removeChild(tabs[j]);
tabcontents[i].removeChild(tabs[j]);
}
}
}
}