Permalink
Browse files

Fixing bug in download stats script

  • Loading branch information...
1 parent 24a0e2c commit b798101d7e75b9015b73ccc548463a1435753304 @pranavkm pranavkm committed Jun 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Website/Scripts/stats.js
@@ -45,7 +45,7 @@ function update(data, key) {
function animateEl(el, v) {
v = v || '';
- var parent = e.parent();
+ var parent = el.parent();
el.animate({ top: 0.3 * parseInt(parent.height()) }, 350, 'linear', function () {
$(this).html(v).css({ top: -0.8 * parseInt(parent.height()) }).animate({ top: 0 }, 350, 'linear')
});

0 comments on commit b798101

Please sign in to comment.