summaryrefslogtreecommitdiffstats
path: root/application/palemoon/components/sessionstore
diff options
context:
space:
mode:
Diffstat (limited to 'application/palemoon/components/sessionstore')
-rw-r--r--application/palemoon/components/sessionstore/content/aboutSessionRestore.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/application/palemoon/components/sessionstore/content/aboutSessionRestore.js b/application/palemoon/components/sessionstore/content/aboutSessionRestore.js
index 2459b67f5..2b6f9eaeb 100644
--- a/application/palemoon/components/sessionstore/content/aboutSessionRestore.js
+++ b/application/palemoon/components/sessionstore/content/aboutSessionRestore.js
@@ -134,6 +134,9 @@ function onListClick(aEvent) {
if (aEvent.button == 2)
return;
+ if (!treeView.treeBox) {
+ return;
+ }
var cell = treeView.treeBox.getCellAt(aEvent.clientX, aEvent.clientY);
if (cell.col) {
// Restore this specific tab in the same window for middle/double/accel clicking