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:
@@ -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