mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Linter
synced 2024-12-18 10:52:03 +00:00
9 lines
265 B
JavaScript
9 lines
265 B
JavaScript
|
( function ( mw, $ ) {
|
||
|
$( function () {
|
||
|
var location = mw.config.get( 'wgLinterErrorLocation' );
|
||
|
if ( location ) {
|
||
|
$( '#wpTextbox1' ).focus().textSelection( 'setSelection', { start: location[ 0 ], end: location[ 1 ] } );
|
||
|
}
|
||
|
} );
|
||
|
}( mediaWiki, jQuery ) );
|