Edit style: remove CodeMirror's Ctrl-S handler, now redundant

This commit is contained in:
tophf 2015-03-12 20:41:06 +03:00
parent 55538f808d
commit 0be6f6dfe4

View File

@ -16,7 +16,6 @@ sectionTemplate.innerHTML = '<label>' + t('sectionCode') + '</label><textarea cl
var editors = [] // array of all CodeMirror instances
// replace given textarea with the CodeMirror editor
function setupCodeMirror(textarea) {
CodeMirror.commands.save = function(cm) { save() }
var cm = CodeMirror.fromTextArea(textarea, {
mode: 'css',
lineNumbers: true,