Last active
August 29, 2015 14:11
-
-
Save ElijahLynn/1506df053c2677f08301 to your computer and use it in GitHub Desktop.
Scroll up for history on IRCCloud
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
// http://stackoverflow.com/a/2133217/292408 | |
function scrollToTop() { | |
$( "div.scroll" ).scrollTop( -10000 ) | |
} | |
setInterval( scrollToTop, 1000 ); | |
// clearInterval(tid); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Should probably prepend "var tid = " to line 7, no?