Skip to content

Commit

Permalink
Update star-rating.js
Browse files Browse the repository at this point in the history
mousenter -> mouseenter
  • Loading branch information
camerontucker authored May 25, 2021
1 parent b1e2f7c commit 4c852fb
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 @@ -450,7 +450,7 @@
_listen: function () {
var self = this, $el = self.$element, $form = $el.closest('form'), $rating = self.$rating,
$clear = self.$clear, events = self.events, ns = $h.NAMESPACE,
mouseEvents = 'mousenter' + ns + ' mouseleave' + ns, $stars = self.$rating.find('.star');
mouseEvents = 'mouseenter' + ns + ' mouseleave' + ns, $stars = self.$rating.find('.star');
$h.handler($rating, 'touchstart touchmove touchend', events.initTouch);
$h.handler($rating, 'click touchstart', events.starClick);
$h.handler($rating, 'mousemove', events.starMouseMove);
Expand Down Expand Up @@ -710,4 +710,4 @@
$input.removeClass('rating-loading').addClass('rating-loading').rating();
}
});
}));
}));

0 comments on commit 4c852fb

Please sign in to comment.