mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 11:57:32 +09:00
Fix loop for column picker's drop-down menu (#2758)
This fixes an oversight in the loop going over column enumeration for column selection. Resolves #2759 Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2758 Co-authored-by: yup <yup@no-reply.palemoon.org> Co-committed-by: yup <yup@no-reply.palemoon.org>
This commit is contained in:
parent
7d099a8080
commit
72a17a5284
1 changed files with 1 additions and 1 deletions
|
|
@ -1498,7 +1498,7 @@
|
||||||
|
|
||||||
var tree = this.parentNode.parentNode;
|
var tree = this.parentNode.parentNode;
|
||||||
if (tree.columns)
|
if (tree.columns)
|
||||||
for (var currCol = tree.columns.getFirstColumn(); currCol = currCol.getNext(); ) {
|
for (var currCol = tree.columns.getFirstColumn(); currCol; currCol = currCol.getNext()) {
|
||||||
// Construct an entry for each column in the row, unless
|
// Construct an entry for each column in the row, unless
|
||||||
// it is not being shown.
|
// it is not being shown.
|
||||||
var currElement = currCol.element;
|
var currElement = currCol.element;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue