瀏覽代碼

Fix for new firefox (?)

pull/15/head
10sr 9 年之前
父節點
當前提交
f67b886022
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      _keysnail.js

+ 2
- 2
_keysnail.js 查看文件

@@ -1015,7 +1015,7 @@ key.suspendKey = "Not defined";

hook.setHook('KeyBoardQuit', function (aEvent) {
// ext.exec("hide-sidebar");
let(elem = document.commandDispatcher.focusedElement) elem && elem.blur();
let(elem = document.commandDispatcher.focusedElement) {elem && elem.blur()};
getBrowser().focus();
content.focus();
command.closeFindBar();
@@ -1066,7 +1066,7 @@ key.setGlobalKey('C-<down>', function () {
}, '選択中のタブを左へ');

key.setGlobalKey('<delete>', function (ev, arg) {
let (elem = document.commandDispatcher.focusedElement) elem && elem.blur();
let (elem = document.commandDispatcher.focusedElement) {elem && elem.blur()};
getBrowser().focus();
content.focus();
}, 'コンテンツへフォーカス', true);


Loading…
取消
儲存