From 76aec2bd9592c287854c663f86e0684154c25f0f Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Fri, 17 Nov 2017 12:23:12 -0500 Subject: [PATCH] Don't reset to root page when clearing the search field Closes #718. --- assets/javascripts/views/search/search.coffee | 1 - 1 file changed, 1 deletion(-) diff --git a/assets/javascripts/views/search/search.coffee b/assets/javascripts/views/search/search.coffee index 9285cd2d..b6c83e1a 100644 --- a/assets/javascripts/views/search/search.coffee +++ b/assets/javascripts/views/search/search.coffee @@ -127,7 +127,6 @@ class app.views.Search extends app.View if event.target is @resetLink $.stopEvent(event) @reset() - app.document.onEscape() return onSubmit: (event) ->