mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 13:17: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:
@@ -2184,9 +2184,9 @@ function StatusLine() //{{{
|
|||||||
if (window.getWebNavigation)
|
if (window.getWebNavigation)
|
||||||
{
|
{
|
||||||
let sh = window.getWebNavigation().sessionHistory;
|
let sh = window.getWebNavigation().sessionHistory;
|
||||||
if (sh.index > 0)
|
if (sh && sh.index > 0)
|
||||||
modified += "+";
|
modified += "+";
|
||||||
if (sh.index < sh.count -1)
|
if (sh && sh.index < sh.count -1)
|
||||||
modified += "-";
|
modified += "-";
|
||||||
}
|
}
|
||||||
if (liberator.has("bookmarks"))
|
if (liberator.has("bookmarks"))
|
||||||
|
|||||||
Reference in New Issue
Block a user