From 65af615c9b9f5df05361f7980cdfde59aff9e7e1 Mon Sep 17 00:00:00 2001 From: Jeroen Akkerman Date: Thu, 18 Jul 2019 12:43:10 +0200 Subject: [PATCH] This PR will close #46 (super small edit to make that comment) --- src/js/easymde.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/js/easymde.js b/src/js/easymde.js index 489d4ff..99d42c1 100644 --- a/src/js/easymde.js +++ b/src/js/easymde.js @@ -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 = [];