Use document.body instead of 'body' as jQuery selector
Change-Id: Ia551b3050ed546de1f9db44dbd332a5b6c108a9f
This commit is contained in:
@@ -226,7 +226,7 @@
|
||||
var imeSelectors = mw.config.get( 'wgULSImeSelectors' ).join( ', ' );
|
||||
|
||||
mw.ime.init();
|
||||
$( 'body' ).on( 'focus.ime', imeSelectors, function () {
|
||||
$( document.body ).on( 'focus.ime', imeSelectors, function () {
|
||||
mw.ime.handleFocus( $( this ) );
|
||||
} );
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user