From 77255304f3d155c7ba0dc1fdf71ad4185fa2f91c Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Thu, 3 Oct 2019 14:18:34 +0200 Subject: #74, Remove readonly flag from search field --- assets/search.js | 1 - layouts/partials/docs/search.html | 2 +- 2 files changed, 1 insertion(+), 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 }} -- cgit v1.2.3