No need of IME in language search bar of ULS
Change-Id: Iab5c08f3edd5047200819fa3cde95bfb5d78db35
This commit is contained in:
committed by
Gerrit Code Review
parent
c83ec2abea
commit
e3d8189162
@@ -26,6 +26,11 @@
|
|||||||
searchAPI: mw.util.wikiScript( 'api' ) + '?action=languagesearch'
|
searchAPI: mw.util.wikiScript( 'api' ) + '?action=languagesearch'
|
||||||
} );
|
} );
|
||||||
|
|
||||||
|
// No need of IME in language search bar of ULS
|
||||||
|
$.fn.uls.Constructor.prototype.render = function () {
|
||||||
|
this.$languageFilter.addClass( 'noime' );
|
||||||
|
};
|
||||||
|
|
||||||
var currentLang = mw.config.get( 'wgUserLanguage' );
|
var currentLang = mw.config.get( 'wgUserLanguage' );
|
||||||
mw.uls = mw.uls || {};
|
mw.uls = mw.uls || {};
|
||||||
mw.uls.previousLanguagesCookie = 'uls-previous-languages';
|
mw.uls.previousLanguagesCookie = 'uls-previous-languages';
|
||||||
|
|||||||
Reference in New Issue
Block a user