mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-11-14 17:55:07 +00:00
Remove call codeMirror.save()
codeMirror.toTextArea() already calls codeMirror.save(). Change-Id: Ifeb8c482149540832d6389a9337baffbf9ec03fb
This commit is contained in:
parent
2705afaa90
commit
058037bba2
|
@ -334,7 +334,6 @@
|
||||||
if ( codeMirror ) {
|
if ( codeMirror ) {
|
||||||
scrollTop = codeMirror.getScrollInfo().top;
|
scrollTop = codeMirror.getScrollInfo().top;
|
||||||
setCodeEditorPreference( false );
|
setCodeEditorPreference( false );
|
||||||
codeMirror.save();
|
|
||||||
codeMirror.toTextArea();
|
codeMirror.toTextArea();
|
||||||
codeMirror = null;
|
codeMirror = null;
|
||||||
$.fn.textSelection = origTextSelection;
|
$.fn.textSelection = origTextSelection;
|
||||||
|
|
Loading…
Reference in a new issue