aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--assets/search.js1
-rw-r--r--layouts/partials/docs/search.html2
2 files changed, 1 insertions, 2 deletions
diff --git a/assets/search.js b/assets/search.js
index b104b41..6799c8d 100644
--- a/assets/search.js
+++ b/assets/search.js
@@ -13,7 +13,6 @@
loadScript("{{ "lunr.min.js" | relURL }}");
loadScript("{{ $searchData.RelPermalink }}", function() {
- input.readOnly = false;
input.required = false;
search();
});
diff --git a/layouts/partials/docs/search.html b/layouts/partials/docs/search.html
index b15ca6d..17a14eb 100644
--- a/layouts/partials/docs/search.html
+++ b/layouts/partials/docs/search.html
@@ -1,6 +1,6 @@
{{ if default true .Site.Params.BookSearch }}
<div class="book-search">
- <input type="text" placeholder="Search" id="book-search-input" maxlength="64" readonly />
+ <input type="text" placeholder="Search" id="book-search-input" maxlength="64" />
<div class="book-search-spinner spinner hidden"></div>
<ul id="book-search-results"></ul>
</div>