diff --git a/conf/wide.json b/conf/wide.json index 2c8f53c..e9ac7d6 100644 --- a/conf/wide.json +++ b/conf/wide.json @@ -25,7 +25,7 @@ "E:\\Work\\go\\src\\github.com\\b3log\\wide\\data\\user_workspaces\\admin\\src\\mytest\\1123", "E:\\Work\\go\\src\\github.com\\b3log\\wide\\data\\user_workspaces\\admin\\src\\mytest\\time\\main.go" ], - "CurrentFile": "E:\\Work\\go\\src\\github.com\\b3log\\wide\\data\\user_workspaces\\admin\\src\\mytest\\1123" + "CurrentFile": "E:\\Work\\go\\src\\github.com\\b3log\\wide\\data\\user_workspaces\\admin\\src\\mytest\\time\\main.go" } } ] diff --git a/static/js/hotkeys.js b/static/js/hotkeys.js index 753610a..4567141 100644 --- a/static/js/hotkeys.js +++ b/static/js/hotkeys.js @@ -168,6 +168,8 @@ var hotkeys = { break; } + + event.preventDefault(); }); }, init: function() {