Skip to content
Snippets Groups Projects
Commit 1cc93d94 authored by Michael Zhou's avatar Michael Zhou Committed by Marijn Haverbeke
Browse files

[vim bindings] Check if cm.save() is available before saving

cm.save() might not exist if CodeMirror is not created from a
textarea. This adds an additional check to prevent TypeErrors.
parent 65964cf6
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment