浏览代码

fix hook

pull/1/head
10sr 12 年前
父节点
当前提交
0d2218c6bd
共有 1 个文件被更改,包括 3 次插入4 次删除
  1. +3
    -4
      _keysnail.js

+ 3
- 4
_keysnail.js 查看文件

@@ -594,15 +594,14 @@ key.suspendKey = "Not defined";

// ================================= Hooks ================================= //

hook.setHook('KeySnailInitialized', function () {
ext.exec("shiitake-enable-style");
});

hook.setHook('KeyBoardQuit', function (aEvent) {
ext.exec("hide-sidebar");

// focus to content
let(elem = document.commandDispatcher.focusedElement) elem && elem.blur();
gBrowser.focus();
content.focus();

command.closeFindBar();
if (util.isCaretEnabled()) {
command.resetMark(aEvent);


正在加载...
取消
保存