From 0b2586fca3efa70a372346df613917822e5737eb Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Wed, 25 Jun 2014 09:17:35 -0400
Subject: [PATCH] Remove focus on mouse clicks

---
 program/js/app.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/program/js/app.js b/program/js/app.js
index 7e67a9c..8f20656 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -630,7 +630,7 @@
   {
     var ret, uid, cid, url, flag, aborted = false;
 
-    if (obj && obj.blur && !(event || rcube_event.is_keyboard(event)))
+    if (obj && obj.blur && !(event && rcube_event.is_keyboard(event)))
       obj.blur();
 
     // do nothing if interface is locked by other command (with exception for searching reset)

--
Gitblit v1.9.1