mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-03 03:55:26 +03:00
Adding event preventDefault on toggleFeatured function
This commit is contained in:
parent
a9d239f5f1
commit
f4f4dc08e3
@ -228,6 +228,7 @@
|
||||
},
|
||||
|
||||
toggleFeatured: function (e) {
|
||||
e.preventDefault();
|
||||
var self = this,
|
||||
featured = !self.model.get('featured'),
|
||||
featuredEl = $(e.currentTarget),
|
||||
|
Loading…
Reference in New Issue
Block a user