From df8a9ef5ae586064769efdd06497b2e9c2fc95cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz?= Date: Fri, 6 Nov 2020 10:52:24 +0100 Subject: [PATCH] Fix back list after delete search word with button After clearing the search box, the list of items does not refresh. I added this line and the deletion started restoring the original list. --- src/selectr.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/selectr.js b/src/selectr.js index 241489c..a11ec69 100644 --- a/src/selectr.js +++ b/src/selectr.js @@ -1407,6 +1407,7 @@ if (!that.tree.childElementCount) { render.call(that); } + that.search(); }); }