uls- prefix classes and IDs

Needs to merged with https://github.com/wikimedia/jquery.uls/pull/147
in core.

Change-Id: I860e5ac7f2fc17508cc76fb756d39cbd61aa1afe
This commit is contained in:
Ed Sanders
2014-05-02 15:05:58 +01:00
committed by Esanders
parent 2d8843beb3
commit d20c067b76
2 changed files with 3 additions and 3 deletions

View File

@@ -88,7 +88,7 @@
mw.hook( 'mw.uls.webfonts.enable' ).add( $.proxy( this.enableWebfonts, this ) );
mw.hook( 'mw.uls.webfonts.disable' ).add( $.proxy( this.disableWebfonts, this ) );
$( 'body' ).on( 'noresults.uls', '.uls-menu .languagefilter',
$( 'body' ).on( 'noresults.uls', '.uls-menu .uls-languagefilter',
$.proxy( this.noSearchResults, this )
);
},

View File

@@ -60,11 +60,11 @@
// Remove previous values when reinitializing
mw.uls.languageSelectionMethod = undefined;
$( '#map-block' ).on( 'click', function () {
$( '#uls-map-block' ).on( 'click', function () {
mw.uls.languageSelectionMethod = 'map';
} );
$( '#languagefilter' ).on( 'keydown', function () {
$( '#uls-languagefilter' ).on( 'keydown', function () {
// If it's the first letter,
// log the usage of the search box
if ( $( this ).val() === '' ) {