remove non-standard plugins

This commit is contained in:
Joey Kimsey
2024-08-15 12:49:34 -04:00
parent 431b1214fa
commit 44dcb29060
174 changed files with 0 additions and 13262 deletions

View File

@ -1,20 +0,0 @@
$(document).ready(function() {
var $star_rating = $('.star-rating .fa-star');
var SetRatingStar = function() {
return $star_rating.each(function() {
if (parseInt($(this).siblings('input.rating-value').val()) >= parseInt($(this).data('rating'))) {
return $(this).addClass('checked');
} else {
return $(this).removeClass('checked');
}
});
};
$star_rating.on('click', function() {
$(this).siblings('input.rating-value').val($(this).data('rating'));
return SetRatingStar();
});
SetRatingStar();
});