mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-11-27 23:50:05 +00:00
Merge "Only give code mirror focus for specific commands"
This commit is contained in:
commit
1512e38c4e
|
@ -227,7 +227,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
retval = fn[ command ].call( this, options );
|
retval = fn[ command ].call( this, options );
|
||||||
codeMirror.focus();
|
if ( command === 'setSelection' ) {
|
||||||
|
codeMirror.focus();
|
||||||
|
}
|
||||||
|
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue