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.
2 parents eaf8459 + 444b08b commit 74dc7b2Copy full SHA for 74dc7b2
src/tests/window/window.html
@@ -81,10 +81,10 @@
81
82
<script id=scroll>
83
let scroll = false;
84
- let scrolend = false
+ let scrollend = false
85
window.addEventListener('scroll', () => {scroll = true});
86
document.addEventListener('scrollend', () => {scrollend = true});
87
- window.scrollTo(0);
+ window.scrollTo(0, 0);
88
89
testing.expectEqual(true, scroll);
90
testing.expectEqual(true, scrollend);
0 commit comments