mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 17:22:26 +01:00
fixed esc for muttator
This commit is contained in:
@@ -121,7 +121,8 @@ const modes = (function () //{{{
|
||||
// Kludge to prevent the input field losing focus on MS/Mac
|
||||
setTimeout(function () {
|
||||
let focus = document.commandDispatcher.focusedElement;
|
||||
if (focus != document.getElementById("urlbar").inputField)
|
||||
let urlbar = document.getElementById("urlbar");
|
||||
if (!urlbar || focus != urlbar.inputField)
|
||||
liberator.focusContent(false);
|
||||
}, 100);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user