Skip to content

Commit 0798b9f

Browse files
committed
Fix code style
1 parent 0862c76 commit 0798b9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/src/js/playground.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ function init() {
216216
resultBlock.innerHTML = '';
217217
runCode(codeInput.value);
218218
if (!elementInViewport(resultBlock)) {
219-
scrollTo({
219+
globalThis.scrollTo({
220220
top: resultBlock.getBoundingClientRect().top,
221221
behavior: 'smooth',
222222
});

0 commit comments

Comments
 (0)