Difference between revisions of "MediaWiki:Vector.js"

Jump to navigation Jump to search
no edit summary
 
Line 9: Line 9:
var toolLinks = toolLinksBase.getElementsByClassName('vector-menu-content-list');
var toolLinks = toolLinksBase.getElementsByClassName('vector-menu-content-list');
var modeSwitchBase = document.createElement('li');
var modeSwitchBase = document.createElement('li');
var modeSwitch = document.createElement('a');
var modeSwitch = document.createElement('span');
modeSwitchBase.setAttribute('id', 'skin-mode');
modeSwitchBase.setAttribute('id', 'skin-mode');
modeSwitch.setAttribute('onclick', 'switchSkin()');
modeSwitch.setAttribute('onclick', 'switchSkin()');

Navigation menu