Created
July 25, 2019 04:15
-
-
Save localghost666/9f7ff47605a161b4b98b6679b1998fc9 to your computer and use it in GitHub Desktop.
페이지 최상단으로 이동
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function moveTop() { | |
document.body.scrollTop = 0; | |
document.documentElement.scrollTop = 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment