0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Merge pull request #2477 from AgtLucas/toggle-featured-post-prevent-default

Adding event preventDefault on toggleFeatured function
This commit is contained in:
Hannah Wolfe 2014-03-23 13:51:51 +00:00
commit 325ddd5a16

View file

@ -228,6 +228,7 @@
},
toggleFeatured: function (e) {
e.preventDefault();
var self = this,
featured = !self.model.get('featured'),
featuredEl = $(e.currentTarget),