mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 22:42:26 +01:00
Fix typo
This commit is contained in:
@@ -27,9 +27,9 @@ var INFO = [
|
||||
// pass true to close, false to open
|
||||
function fold_collapse_expand_target(tab, collapse, children = false) {
|
||||
if (children) {
|
||||
let childs = TreeStyleTabService.getDescendantTabs(tab);
|
||||
for (let x in childs) {
|
||||
gBrowser.treeStyleTab.collapseExpandSubtree(childs[x], collapse);
|
||||
let children = TreeStyleTabService.getDescendantTabs(tab);
|
||||
for (let x in children) {
|
||||
gBrowser.treeStyleTab.collapseExpandSubtree(children[x], collapse);
|
||||
}
|
||||
}
|
||||
gBrowser.treeStyleTab.collapseExpandSubtree(tab, collapse);
|
||||
|
||||
Reference in New Issue
Block a user