Bladeren bron

Fix for new firefox (?)

pull/15/head
10sr 9 jaren geleden
bovenliggende
commit
f67b886022
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. +2
    -2
      _keysnail.js

+ 2
- 2
_keysnail.js Bestand weergeven

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


Laden…
Annuleren
Opslaan