[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r15556: Fix bug 734. I h8 FF3 with all my <3. (torbutton/trunk/src/chrome/content)
Author: mikeperry
Date: 2008-06-28 21:29:15 -0400 (Sat, 28 Jun 2008)
New Revision: 15556
Modified:
torbutton/trunk/src/chrome/content/torbutton.js
Log:
Fix bug 734. I h8 FF3 with all my <3.
Modified: torbutton/trunk/src/chrome/content/torbutton.js
===================================================================
--- torbutton/trunk/src/chrome/content/torbutton.js 2008-06-28 21:44:07 UTC (rev 15555)
+++ torbutton/trunk/src/chrome/content/torbutton.js 2008-06-29 01:29:15 UTC (rev 15556)
@@ -1226,8 +1226,10 @@
for (var i = 0; i < browsers.length; ++i) {
var b = browser.browsers[i];
- b.webNavigation.sessionHistory.PurgeHistory(
- b.webNavigation.sessionHistory.count);
+ if(b.webNavigation.sessionHistory.count) {
+ b.webNavigation.sessionHistory.PurgeHistory(
+ b.webNavigation.sessionHistory.count);
+ }
}
}
}