Disable IME too in blacklisted browsers
Change-Id: I140352f723bc4863d14ed6441c9e173310c683b3
This commit is contained in:
committed by
Niklas Laxström
parent
c57bcd86f7
commit
9d75ff9a09
@@ -34,6 +34,7 @@ $wgResourceModules['ext.uls.ime'] = array(
|
|||||||
'scripts' => 'resources/js/ext.uls.ime.js',
|
'scripts' => 'resources/js/ext.uls.ime.js',
|
||||||
'dependencies' => array(
|
'dependencies' => array(
|
||||||
'jquery.ime',
|
'jquery.ime',
|
||||||
|
'ext.uls.init',
|
||||||
'ext.uls.preferences',
|
'ext.uls.preferences',
|
||||||
),
|
),
|
||||||
) + $resourcePaths;
|
) + $resourcePaths;
|
||||||
|
|||||||
@@ -200,6 +200,9 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
$( document ).ready( function () {
|
$( document ).ready( function () {
|
||||||
|
if ( !mw.uls.isBrowserSupported() ) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Load the ime preferences
|
// Load the ime preferences
|
||||||
$.ime.preferences.load();
|
$.ime.preferences.load();
|
||||||
|
|||||||
Reference in New Issue
Block a user