Skip to content

Commit e0a8d17

Browse files
committed
fix(docs): use querySelector to satisfy unicorn/prefer-query-selector
1 parent 8c4c540 commit e0a8d17

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/glimmer-attribute-behavior.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ After rendering, paste this into the devtools console:
253253
lines.push(`\n==== ${label} ====`);
254254
for (let i = 1; i <= count; i++) {
255255
const id = prefix + i;
256-
const el = document.getElementById(id);
256+
const el = document.querySelector(`#${id}`);
257257
if (!el) {
258258
lines.push(`${id}: (NOT FOUND)`);
259259
continue;

0 commit comments

Comments
 (0)