Explorar el Código

Fix for new firefox (?)

pull/15/head
10sr hace 9 años
padre
commit
f67b886022
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      _keysnail.js

+ 2
- 2
_keysnail.js Ver fichero

@@ -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);


Cargando…
Cancelar
Guardar