mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 04:27:59 +01:00
Fix :help focus issues. Closes issue #169.
This commit is contained in:
@@ -294,7 +294,10 @@ const Buffer = Module("buffer", {
|
||||
frame.dactylFocusAllowed = false;
|
||||
|
||||
// Workaround for bugs 591425 and 606877, dactyl bug #81
|
||||
config.browser.mCurrentBrowser.collapsed =
|
||||
let collapse = uri && uri.scheme === "dactyl" && webProgress.isLoadingDocument;
|
||||
if (collapse)
|
||||
config.focus.setFocus(window.documentElement);
|
||||
config.browser.mCurrentBrowser.collapsed = collapse;
|
||||
uri && uri.scheme === "dactyl" && webProgress.isLoadingDocument;
|
||||
|
||||
util.timeout(function () {
|
||||
|
||||
Reference in New Issue
Block a user