Skip to content

Commit 6dcac76

Browse files
committed
Ignore debug checkbox
1 parent 2274c8e commit 6dcac76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ window.toggleDebugMode = () => {
3232
spinners.forEach(spinner => spinner.classList.toggle('stop-animation', debugMode));
3333

3434
const inputs = [
35-
...document.getElementsByTagName('input'),
35+
...document.querySelectorAll<HTMLInputElement>('input:not(#debug-mode)'),
3636
...document.getElementsByTagName('textarea')
3737
];
3838
inputs.forEach(input => {

0 commit comments

Comments
 (0)