From 7401b8a52d74953ac4633c65a240e44de9ea3f14 Mon Sep 17 00:00:00 2001
From: chylex <contact@chylex.com>
Date: Thu, 2 Nov 2017 10:10:04 +0100
Subject: [PATCH] Fix search input not being unfocused after opening search
 externally

---
 Resources/Scripts/code.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Resources/Scripts/code.js b/Resources/Scripts/code.js
index eb4d4c76..9da651c8 100644
--- a/Resources/Scripts/code.js
+++ b/Resources/Scripts/code.js
@@ -1081,7 +1081,7 @@
       event.preventDefault();
       event.stopPropagation();
       
-      input.val("");
+      input.val("").blur();
       app.click(); // unfocus everything
     };