Browse files

bugfix

  • Loading branch information...
1 parent 2055c9a commit 7d021ace31033ec30d535b2a3d14d1f43073f2be @muratguzel committed Sep 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/generators/rateit/templates/rateit.js
View
2 lib/generators/rateit/templates/rateit.js
@@ -7,7 +7,7 @@ $(function(){
return $(this).attr('data-rating')
},
number: function() {
- $(this).attr('data-star-count'),
+ return $(this).attr('data-star-count')
},
click: function(score, evt) {
$.post('<%= Rails.application.class.routes.url_helpers.rate_path %>',

0 comments on commit 7d021ac

Please sign in to comment.