0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Adding event preventDefault on toggleFeatured function

This commit is contained in:
Lucas Churchill 2014-03-23 00:27:53 -03:00
parent 6d1c1b4f5c
commit 2658ba10ca

View file

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