浏览代码

Fix for Firefox 41

pull/15/head
10sr 8 年前
父节点
当前提交
e87762b9a9
共有 1 个文件被更改,包括 6 次插入2 次删除
  1. +6
    -2
      _keysnail.js

+ 6
- 2
_keysnail.js 查看文件

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

hook.setHook('KeyBoardQuit', function (aEvent) {
// ext.exec("hide-sidebar");
let(elem = document.commandDispatcher.focusedElement) {elem && elem.blur()};
var elem = document.commandDispatcher.focusedElement;
elem && elem.blur();

getBrowser().focus();
content.focus();
command.closeFindBar();
@@ -1160,7 +1162,9 @@ key.setGlobalKey('C-<down>', function () {
}, '選択中のタブを左へ');

key.setGlobalKey('<delete>', function (ev, arg) {
let (elem = document.commandDispatcher.focusedElement) {elem && elem.blur()};
var elem = document.commandDispatcher.focusedElement;
elem && elem.blur();

getBrowser().focus();
content.focus();
}, 'コンテンツへフォーカス', true);


正在加载...
取消
保存