mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 00:08:39 +09:00
about:sessionrestore - fix an error "treeView.treeBox is null" in aboutSessionRestore.js
This commit is contained in:
parent
56cbcefcae
commit
9860239ea3
1 changed files with 3 additions and 0 deletions
|
|
@ -188,6 +188,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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue