Skip to content

Commit

Permalink
fix when text is blank
Browse files Browse the repository at this point in the history
  • Loading branch information
UziTech committed Apr 3, 2018
1 parent dc3daf9 commit 8037a3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/demo/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 8037a3a

Please sign in to comment.