From: Alan Knowles Date: Tue, 5 Jan 2021 09:21:21 +0000 (+0800) Subject: Roo/bootstrap/Markdown.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=01f5f68f551ae1a2155684d14ef873f55b0bd2d6 Roo/bootstrap/Markdown.js --- diff --git a/Roo/bootstrap/Markdown.js b/Roo/bootstrap/Markdown.js index f68278082f..86d1900cbb 100644 --- a/Roo/bootstrap/Markdown.js +++ b/Roo/bootstrap/Markdown.js @@ -62,7 +62,7 @@ Roo.extend(Roo.bootstrap.Markdown, Roo.bootstrap.TextArea, { updateMarkdown : function() { if (this.getValue() == '') { - this.markdownEl.dom.innerHTML = String.format('{0}', this.placeholder); + this.markdownEl.dom.innerHTML = String.format('{0}', this.placeholder || ''); return; } var v = this.getValue();