User:Ultimatum 977/vector.js

var prefLangs = ["en", "simple", "ru", "uk"]; var prefClasses = $.map(prefLangs, function(lang) { return '.interwiki-' + lang; }); var prefElems = $(prefClasses.join(', ')); prefElems.parent.prepend(" ").prepend(prefElems);

var highlitLangs = ["en", "simple", "ru", "uk"]; var highlitClasses = $.map(highlitLangs, function(lang) { return '.interwiki-' + lang; }); var highlitElems = $(highlitClasses.join(', ')); highlitElems.css('font-weight', 'bold');