Permalink
Browse files

Fine-tuned new-row animation

  • Loading branch information...
dallonf committed Oct 10, 2012
1 parent 23037de commit 7d47a61bf56b9d81087fbb68955876b249719cb6
Showing with 4 additions and 1 deletion.
  1. +4 −1 lib/resources/collection/dashboard/js/util/knockout-util.js
@@ -412,7 +412,10 @@ ko.bindingHandlers.fadeIn = {
var eventName = valueAccessor();
postbox.subscribe(function(value) {
if (value === vm) {
- $(element).css('opacity', 0).animate({'opacity': 1}, 500);
+ $(element).css('opacity', 0);
+ setTimeout(function() {
+ $(element).animate({'opacity': 1}, 800);
+ }, 100);
}
}, vm, eventName);
}

0 comments on commit 7d47a61

Please sign in to comment.