User:Wynndale/common.js

From OpenStreetMap Wiki
Jump to: navigation, search
// adds expansion link for language bars
addOnloadHook(function() {
    $('#ExpandLanguagesDebug a:first-child').click(function(event) {
        event.preventDefault();
        $('#LanguagesDebug').toggleClass('showOther');
        // The text of the link might need to change as well
    });
});