mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-11-23 22:03:28 +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 );
|
||||
codeMirror.focus();
|
||||
if ( command === 'setSelection' ) {
|
||||
codeMirror.focus();
|
||||
}
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue