1
0
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:
Kris Maglione
2010-12-18 14:55:53 -05:00
parent ad44ca26d5
commit 0af241568b
2 changed files with 5 additions and 1 deletions

View File

@@ -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 () {