From a66db6323a2830d2919315eb501e1c6c657cb1f3 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Wed, 22 Jul 2015 09:52:58 +0930 Subject: [PATCH] Fix search routing Blurring the input causes a redraw, which hides the results and invalidates the current index. So the routing wasn't working. Drawer is now hidden on IndexPage construction. --- js/forum/src/components/Search.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/forum/src/components/Search.js b/js/forum/src/components/Search.js index 5996403ca..72c442fe2 100644 --- a/js/forum/src/components/Search.js +++ b/js/forum/src/components/Search.js @@ -133,9 +133,8 @@ export default class Search extends Component { break; case 13: // Return - this.$('input').blur(); m.route(this.getItem(this.index).find('a').attr('href')); - app.drawer.hide(); + this.$('input').blur(); break; case 27: // Escape