Fix readonly mode in code

pull/1/head
yflory 7 years ago
parent 5cde3fffb8
commit 55fe882f64

@ -228,8 +228,8 @@ define([
$codeMirror.removeClass('transition'); $codeMirror.removeClass('transition');
}, 500); }, 500);
if (mediaTagModes.indexOf(mode) !== -1) { if (mediaTagModes.indexOf(mode) !== -1) {
APP.$mediaTagButton.show(); $(APP.$mediaTagButton).show();
} else { APP.$mediaTagButton.hide(); } } else { $(APP.$mediaTagButton).hide(); }
if (mode === "markdown") { if (mode === "markdown") {
APP.$previewButton.show(); APP.$previewButton.show();

Loading…
Cancel
Save