Ad placeholder

User:Crashaholic/vector.js: Difference between revisions

Jump to navigation Jump to search
hmm
No edit summary
(hmm)
Line 39: Line 39:
var foo = document.querySelector('.vector-menu-content-list');
var foo = document.querySelector('.vector-menu-content-list');
foo.prepend(node1);
foo.prepend(node1);
node1.id = "pt-mode"; //adding to literally just make it look similar to the other options LMAO
node1.appendChild(node2);
node1.appendChild(node2);
node2.setAttribute('onclick', 'switchTheme()');
node2.setAttribute('onclick', 'switchTheme()');
Line 94: Line 95:
// == Targetted items ==
// == Targetted items ==
$('.bg3wiki-tooltip-box').addClass('theme-bg3-light'); // the rounded boxes
$('.bg3wiki-tooltip-box').addClass('theme-bg3-light'); // the rounded boxes
$('#bg3wiki-legacy-content-notice').addClass('theme-bg3-light'); // {{Legacy Content}}
$('#bg3wiki-legacy-content-notice').addClass('theme-bg3-light'); // Legacy Content
$('.bg3wiki-blockquote-text').addClass('theme-bg3-light');
$('.bg3wiki-blockquote-text').addClass('theme-bg3-light');

Navigation menu