From e9b25be0607488d81c0b4329263eab29438751e9 Mon Sep 17 00:00:00 2001 From: Connor Turland Date: Wed, 11 Jun 2014 19:29:05 -0400 Subject: [PATCH] blurred input when closing search so that typing in it is no longer possible --- app/assets/javascripts/jquery/EveryPage.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/jquery/EveryPage.js b/app/assets/javascripts/jquery/EveryPage.js index 1f849653..376e0ead 100644 --- a/app/assets/javascripts/jquery/EveryPage.js +++ b/app/assets/javascripts/jquery/EveryPage.js @@ -101,6 +101,7 @@ $(document).ready(function () { width: '0' }, 200, function () { $('.sidebarSearchField').typeahead('setQuery', ''); + $('.sidebarSearchField').blur(); sliding1 = false; searchIsOpen = false; });