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:
commit
325ddd5a16
1 changed files with 1 additions and 0 deletions
|
@ -228,6 +228,7 @@
|
|||
},
|
||||
|
||||
toggleFeatured: function (e) {
|
||||
e.preventDefault();
|
||||
var self = this,
|
||||
featured = !self.model.get('featured'),
|
||||
featuredEl = $(e.currentTarget),
|
||||
|
|
Loading…
Reference in a new issue