Skip to content

Commit

Permalink
General cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
baphled committed Jun 13, 2010
1 parent 3762807 commit 3c08dcd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/javascripts/autoScroller.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ $.fn.autoScroller = function(options) {

if ($innerUnorderedList.scrollTop() == previousOffset && 0 !== previousOffset) {
$innerUnorderedList
.animate({scrollTop: 0}, opts.speed / 2);
.animate({scrollTop: 0}, opts.speed);
}

$('body').mouseout(function() {stop = true;}).mouseover(function() {stop = false;});
previousOffset = $innerUnorderedList.scrollTop();

if ((previousOffset && $innerUnorderedList.scrollTop()) == 0) {
stop = false;
}
previousOffset = $innerUnorderedList.scrollTop();

}
}, opts.speed);
Expand Down

0 comments on commit 3c08dcd

Please sign in to comment.