Merge "uls- prefix classes and IDs"
This commit is contained in:
@@ -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 )
|
||||
);
|
||||
},
|
||||
|
||||
@@ -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() === '' ) {
|
||||
|
||||
Reference in New Issue
Block a user