mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 23:12:31 +02:00
Fix :help focus issues. Closes issue #169.
This commit is contained in:
1 parent
ad44ca26d5
commit
0af241568b
2 files changed
+5
-1
No files matched your search
@@ -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