Disable IME too in blacklisted browsers

Change-Id: I140352f723bc4863d14ed6441c9e173310c683b3
This commit is contained in:
Santhosh Thottingal
2013-06-17 14:21:28 +05:30
committed by Niklas Laxström
parent c57bcd86f7
commit 9d75ff9a09
2 changed files with 4 additions and 0 deletions

View File

@@ -34,6 +34,7 @@ $wgResourceModules['ext.uls.ime'] = array(
'scripts' => 'resources/js/ext.uls.ime.js',
'dependencies' => array(
'jquery.ime',
'ext.uls.init',
'ext.uls.preferences',
),
) + $resourcePaths;

View File

@@ -200,6 +200,9 @@
};
$( document ).ready( function () {
if ( !mw.uls.isBrowserSupported() ) {
return;
}
// Load the ime preferences
$.ime.preferences.load();