From 8037a3aa4cf6e05d1ed3bac25522fa1b96c5bda3 Mon Sep 17 00:00:00 2001 From: Tony Brix Date: Tue, 3 Apr 2018 11:39:08 -0500 Subject: [PATCH] fix when text is blank --- docs/demo/demo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/demo/demo.js b/docs/demo/demo.js index ada958e803..8db8e7146b 100644 --- a/docs/demo/demo.js +++ b/docs/demo/demo.js @@ -20,7 +20,7 @@ var $activeElem = null; var changeTimeout = null; var search = searchToObject(); -if (search.text) { +if ('text' in search) { $inputElem.value = search.text; } else { fetch('./initial.md')