app/views/layouts/koi/_navigation.html.erb in katalyst-koi-4.9.3 vs app/views/layouts/koi/_navigation.html.erb in katalyst-koi-4.9.4
- old
+ new
@@ -4,10 +4,11 @@
shortcut:nav-toggle@document->navigation#toggle">
<%= render "layouts/koi/navigation_header", admin: current_admin %>
<div class="filter">
<input type="search" placeholder="Filter menu" autocomplete="off"
data-navigation-target="filter"
- data-action="input->navigation#filter change->navigation#filter keydown.enter->navigation#go">
+ data-action="input->navigation#filter change->navigation#filter
+ keydown.enter->navigation#go keydown.esc->navigation#clear">
</div>
<%= navigation_menu_with(menu: Koi::Menu.admin_menu(self)) %>
</nav>
<%= render "layouts/koi/navigation_collapse" %>