From 84c3e3932c39b004301cd373802c2b4cc7434380 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Tue, 17 Jun 2014 03:51:26 -0400 Subject: [PATCH] fix(key) switch key F7: add preventDefault --- lib/client/key.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/client/key.js b/lib/client/key.js index c4eca97e..4be46251 100644 --- a/lib/client/key.js +++ b/lib/client/key.js @@ -243,6 +243,8 @@ var CloudCmd, Util, DOM; DOM.promptNewFile(); else DOM.promptNewDir(); + + Events.preventDefault(event); break; case Key.F8: