Remove call codeMirror.save()

codeMirror.toTextArea() already calls codeMirror.save().

Change-Id: Ifeb8c482149540832d6389a9337baffbf9ec03fb
This commit is contained in:
Fomafix 2017-09-19 14:10:34 +02:00
parent 2705afaa90
commit 058037bba2

View file

@ -334,7 +334,6 @@
if ( codeMirror ) {
scrollTop = codeMirror.getScrollInfo().top;
setCodeEditorPreference( false );
codeMirror.save();
codeMirror.toTextArea();
codeMirror = null;
$.fn.textSelection = origTextSelection;