Correct the preference overriding for IME
Change-Id: I80eddfe7476b1c7ff1562f79bc14f497e4630862
This commit is contained in:
@@ -79,15 +79,11 @@
|
||||
|
||||
isEnabled: function () {
|
||||
|
||||
if ( this.registry['enable'] === false ){
|
||||
return false;
|
||||
if ( this.registry['enable'] === undefined ) {
|
||||
return mw.config.get( 'wgULSIMEEnabled' );
|
||||
} else {
|
||||
return this.registry['enable'];
|
||||
}
|
||||
|
||||
if ( mw.config.get( 'wgULSIMEEnabled' ) === false ){
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
} );
|
||||
|
||||
Reference in New Issue
Block a user