Skip to content

Instantly share code, notes, and snippets.

@mukulmishra18
Created June 16, 2017 18:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mukulmishra18/19e53e31fb89ce704866a7e2ad06d3a5 to your computer and use it in GitHub Desktop.
Save mukulmishra18/19e53e31fb89ce704866a7e2ad06d3a5 to your computer and use it in GitHub Desktop.
(function p(d) {
var t = rr.shift();
setTimeout(function () {
document.getElementById("viewerContainer").scrollTop = t.top;
p(t.time)
}, t.time - d);
})(0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment