1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 04:27:59 +01:00

Fix some smallish focus issued.

This commit is contained in:
Kris Maglione
2010-12-30 00:17:01 -05:00
parent 6b41435f30
commit 5f1c47ee20
4 changed files with 20 additions and 20 deletions

View File

@@ -258,7 +258,7 @@ var Buffer = Module("buffer", {
else if (flags & Ci.nsIWebProgressListener.STATE_STOP) {
// Workaround for bugs 591425 and 606877, dactyl bug #81
config.browser.mCurrentBrowser.collapsed = false;
if (!dactyl.focusedElement)
if (!dactyl.focusedElement || dactyl.focusedElement === document.documentElement)
dactyl.focusContent();
statusline.updateUrl();
}