From 59675a2c6a6b280c56f33d34e360a20482f5380e Mon Sep 17 00:00:00 2001 From: coderaiser Date: Wed, 26 Jun 2013 11:52:35 +0000 Subject: [PATCH] fix(console) add preventDefault if lIsBind and ` --- lib/client/console.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/client/console.js b/lib/client/console.js index 06b9b245..44d59bd1 100644 --- a/lib/client/console.js +++ b/lib/client/console.js @@ -135,8 +135,10 @@ var CloudCmd, Util, DOM, $, jqconsole; switch(lKey){ case lTRA: - if (lIsBind) + if (lIsBind){ Console.show(); + DOM.preventDefault(pEvent); + } break; case lESC: Console.hide();