actually call the callback, ffffuuuuuuuu

This commit is contained in:
Sami Samhuri 2011-12-09 20:14:35 -08:00
parent 79710fa2c0
commit 034dcd743a

View file

@ -47,7 +47,8 @@
if (typeof cb === 'function') cb(err) if (typeof cb === 'function') cb(err)
else { else {
$('#comment-stuff').slideDown(1.5, function() { $('#comment-stuff').slideDown(1.5, function() {
this.scrollIntoView(true) if (typeof cb === 'function') cb()
else this.scrollIntoView(true)
}) })
} }
}) })