Skip to content

Commit

Permalink
Adding event preventDefault on toggleFeatured function
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas Churchill committed Mar 23, 2014
1 parent 6d1c1b4 commit 2658ba1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/client/views/blog.js
Expand Up @@ -228,6 +228,7 @@
},

toggleFeatured: function (e) {
e.preventDefault();
var self = this,
featured = !self.model.get('featured'),
featuredEl = $(e.currentTarget),
Expand Down

0 comments on commit 2658ba1

Please sign in to comment.