FIX: Improved like animation
This commit is contained in:
@@ -290,6 +290,8 @@ export default createWidget('post-menu', {
|
||||
}
|
||||
|
||||
const $heart = $(`[data-post-id=${attrs.id}] .fa-heart`);
|
||||
$heart.closest('button').addClass('has-like');
|
||||
|
||||
const scale = [1.0, 1.5];
|
||||
return new Ember.RSVP.Promise(resolve => {
|
||||
animateHeart($heart, scale[0], scale[1], () => {
|
||||
|
||||
Reference in New Issue
Block a user