Use single entry point mw.uls.init for all ULS ui initialization
Change-Id: I485ea27deebb530eb89e4b0935eda01a5276f884
This commit is contained in:
committed by
Amire80
parent
ea50b8216c
commit
8ddff0b2fc
@@ -203,17 +203,14 @@
|
||||
};
|
||||
|
||||
$( document ).ready( function () {
|
||||
if ( !mw.uls.isBrowserSupported() ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Load the ime preferences
|
||||
$.ime.preferences.load();
|
||||
|
||||
if ( $.ime.preferences.isEnabled() ) {
|
||||
mw.ime.setup();
|
||||
}
|
||||
mw.uls.init( function () {
|
||||
// Load the ime preferences
|
||||
$.ime.preferences.load();
|
||||
|
||||
if ( $.ime.preferences.isEnabled() ) {
|
||||
mw.ime.setup();
|
||||
}
|
||||
} );
|
||||
} );
|
||||
|
||||
function imeNotification () {
|
||||
|
||||
Reference in New Issue
Block a user