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

Fixes issue #119.

Update issue #119
This should be fixed, but I'm fairly convinced that it
shouldn't occur in the first place, and a new problem may well
occur in its place. Which version of Firefox are you using,
and which other extensions?
This commit is contained in:
Kris Maglione
2009-10-29 22:28:21 -04:00
parent 9bb01ce7ef
commit 2ffbe6005e

View File

@@ -2184,9 +2184,9 @@ function StatusLine() //{{{
if (window.getWebNavigation)
{
let sh = window.getWebNavigation().sessionHistory;
if (sh.index > 0)
if (sh && sh.index > 0)
modified += "+";
if (sh.index < sh.count -1)
if (sh && sh.index < sh.count -1)
modified += "-";
}
if (liberator.has("bookmarks"))