Correct the preference overriding for IME

Change-Id: I80eddfe7476b1c7ff1562f79bc14f497e4630862
This commit is contained in:
Santhosh Thottingal
2012-11-01 10:18:20 +05:30
parent 833f8f63d6
commit cccd49163b

View File

@@ -79,15 +79,11 @@
isEnabled: function () { isEnabled: function () {
if ( this.registry['enable'] === false ){ if ( this.registry['enable'] === undefined ) {
return false; return mw.config.get( 'wgULSIMEEnabled' );
} else {
return this.registry['enable'];
} }
if ( mw.config.get( 'wgULSIMEEnabled' ) === false ){
return false;
}
return true;
} }
} ); } );