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 40889ef commit b3db6c8Copy full SHA for b3db6c8
assets/script/index.js
@@ -8,6 +8,13 @@ var result = document.querySelector('body > main > section#result');
8
9
10
var currentTarget = type;
11
+window.onresize = () => {
12
+
13
+ currentTarget.scrollIntoView({
14
+ behavior: 'smooth'
15
+ });
16
17
+};
18
19
20
for (let checkBox of type.querySelectorAll('form > div > label > input')) {
0 commit comments