Fix readonly mode in code
This commit is contained in:
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…
x
Reference in New Issue
Block a user