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:
parent
6d1c1b4f5c
commit
2658ba10ca
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…
Add table
Reference in a new issue