From d9637d8ebd4b462521b4af7eb638657e9ca08e4a Mon Sep 17 00:00:00 2001 From: coderaiser Date: Tue, 9 Sep 2014 09:24:31 -0400 Subject: [PATCH] fix(key) TRA: add condition --- lib/client/key.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/client/key.js b/lib/client/key.js index b82b07c7..037179e6 100644 --- a/lib/client/key.js +++ b/lib/client/key.js @@ -279,7 +279,9 @@ var CloudCmd, Util, DOM; else obj = CloudCmd.Konsole; - obj.show(); + if (obj && obj.show) + obj.show(); + Events.preventDefault(event); break;