From 2ffbe6005e3701ab473df1b6615ce9e8e3bd429c Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Thu, 29 Oct 2009 22:28:21 -0400 Subject: [PATCH] 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? --- common/content/ui.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/content/ui.js b/common/content/ui.js index cb43c4b2..caa46a88 100644 --- a/common/content/ui.js +++ b/common/content/ui.js @@ -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"))