Skip to content

Commit

Permalink
Update index.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ujibang authored Sep 10, 2024
1 parent 68de0ff commit 09da35c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ stars-bounce: true
license: 'GPLv3',
waitForLoad: true,
onResized: ({ iframe, height, width, type }) => {
// if (type === 'overflowChanged' && document.readyState == 'complete') {
if (type === 'overflowChanged' && document.readyState == 'complete') {
window.scrollTo({top: height-120, left: 0, behavior: 'auto'});
// }
}
}
}, '#sophiaFrame' );
</script>
Expand Down Expand Up @@ -116,4 +116,4 @@ stars-bounce: true
</div>
</div>
</div>
</section>
</section>

0 comments on commit 09da35c

Please sign in to comment.