2
0
mirror of https://github.com/Ionaru/easy-markdown-editor synced 2025-07-23 01:44:31 -06:00

This PR will close #46 (super small edit to make that comment)

This commit is contained in:
Jeroen Akkerman 2019-07-18 12:43:10 +02:00
parent 11963829fc
commit 65af615c9b

View File

@ -2232,11 +2232,10 @@ EasyMDE.prototype.createStatusbar = function (status) {
var options = this.options;
var cm = this.codemirror;
// Make sure the status variable is valid
if (!status || status.length === 0)
if (!status || status.length === 0) {
return;
}
// Set up the built-in items
var items = [];