Skip to content

Commit

Permalink
Merge pull request #213 from RegentCollege/master
Browse files Browse the repository at this point in the history
mousenter -> mouseenter
  • Loading branch information
kartik-v authored May 25, 2021
2 parents b1e2f7c + fd1a7d8 commit 40dab25
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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();
}
});
}));
}));
Loading

0 comments on commit 40dab25

Please sign in to comment.