Browse files

Don't re-var activeScrollTimeout so we maintain ref

  • Loading branch information...
1 parent 783f7f8 commit e46b00e141234febd4a7a5db264c824eda91b160 @btaylor-litl btaylor-litl committed Mar 30, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 site_media/berserk/js/sidebar.js
View
2 site_media/berserk/js/sidebar.js
@@ -47,7 +47,7 @@ Sidebar.prototype = {
if (activeScrollTimeout)
clearTimeout(activeScrollTimeout);
- var activeScrollTimeout = setTimeout(function () {
+ activeScrollTimeout = setTimeout(function () {
activeScrollTimeout = null;
var min = $('#timeline-event-container').offset().top;

0 comments on commit e46b00e

Please sign in to comment.