Pārlūkot izejas kodu

fix hook

pull/1/head
10sr pirms 12 gadiem
vecāks
revīzija
0d2218c6bd
1 mainītis faili ar 3 papildinājumiem un 4 dzēšanām
  1. +3
    -4
      _keysnail.js

+ 3
- 4
_keysnail.js Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt