We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51d718c commit 0addea3Copy full SHA for 0addea3
src/helix-ui/elements/HXDisclosureElement.js
@@ -80,7 +80,7 @@ export class HXDisclosureElement extends HXElement {
80
get target () {
81
if (this.isConnected && !this._target) {
82
let targetId = this.getAttribute('aria-controls');
83
- this._target = this.getRootNode().getElementById(targetId);
+ this._target = this.getRootNode().querySelector(`#${targetId}`);
84
}
85
return this._target;
86
0 commit comments