Fix wrong aria-disabled on context/non-context item rows
Regression from #2263
This commit is contained in:
parent
44b6cd0525
commit
88c3e6ca00
1 changed files with 1 additions and 1 deletions
|
@ -2753,7 +2753,7 @@ var ItemTree = class ItemTree extends LibraryTree {
|
||||||
if (!this.isContainerEmpty(index)) {
|
if (!this.isContainerEmpty(index)) {
|
||||||
div.setAttribute('aria-expanded', this.isContainerOpen(index));
|
div.setAttribute('aria-expanded', this.isContainerOpen(index));
|
||||||
}
|
}
|
||||||
if (!rowData.contextRow) {
|
if (rowData.contextRow) {
|
||||||
div.setAttribute('aria-disabled', true);
|
div.setAttribute('aria-disabled', true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue