Permalink
Browse files

code cleanup

  • Loading branch information...
1 parent 7dc8539 commit e0eb12784a86dc94ab655f4714696a7cb7106ff2 Noel Rappin committed Aug 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/assets/javascripts/toggler.js
@@ -15,7 +15,7 @@ var togglePrototype = {
toggleOnClick: function(event) {
this.$link = $(event.target);
this.$link.text(this.isDetailHidden() ? this.hideText : this.showText);
- this.detailElement().toggleClass(toggler.hiddenClass);
+ this.detailElement().toggleClass(this.hiddenClass);
event.preventDefault();
},

0 comments on commit e0eb127

Please sign in to comment.