Skip to content

Commit

Permalink
Update star-rating.js
Browse files Browse the repository at this point in the history
Fixed typo on rating:change event
  • Loading branch information
pkExec authored Oct 20, 2017
1 parent ca43ee3 commit c8f18d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/star-rating.js
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@
pos = self.events._getTouchPosition(ev);
self._setStars(pos);
params = [self.$element.val(), self._getCaption()];
self.$element.trigger('change').trigger('rating.change', params);
self.$element.trigger('change').trigger('rating:change', params);
self.starClicked = true;
});
},
Expand Down Expand Up @@ -596,4 +596,4 @@
$input.removeClass('rating-loading').addClass('rating-loading').rating();
}
});
}));
}));

0 comments on commit c8f18d8

Please sign in to comment.