Merge "uls- prefix classes and IDs"

This commit is contained in:
jenkins-bot
2014-08-25 04:27:04 +00:00
committed by Gerrit Code Review
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.enable' ).add( $.proxy( this.enableWebfonts, this ) );
mw.hook( 'mw.uls.webfonts.disable' ).add( $.proxy( this.disableWebfonts, 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 ) $.proxy( this.noSearchResults, this )
); );
}, },

View File

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