From 8b7fce823ab0a7998a7f4fda264c8f09448e3f14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Wed, 16 Oct 2024 12:19:07 +0200 Subject: [PATCH] reorder classnames --- js/src/rating.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/rating.js b/js/src/rating.js index 28c61309e..1923912e6 100644 --- a/js/src/rating.js +++ b/js/src/rating.js @@ -34,7 +34,6 @@ const EVENT_MOUSELEAVE = `mouseleave${EVENT_KEY}` const CLASS_NAME_ACTIVE = 'active' const CLASS_NAME_DISABLED = 'disabled' -const CLASS_NAME_READONLY = 'readonly' const CLASS_NAME_RATING = 'rating' const CLASS_NAME_RATING_ITEM = 'rating-item' const CLASS_NAME_RATING_ITEM_ICON = 'rating-item-icon' @@ -42,6 +41,7 @@ const CLASS_NAME_RATING_ITEM_CUSTOM_ICON = 'rating-item-custom-icon' const CLASS_NAME_RATING_ITEM_CUSTOM_ICON_ACTIVE = 'rating-item-custom-icon-active' const CLASS_NAME_RATING_ITEM_INPUT = 'rating-item-input' const CLASS_NAME_RATING_ITEM_LABEL = 'rating-item-label' +const CLASS_NAME_READONLY = 'readonly' const SELECTOR_DATA_TOGGLE = '[data-coreui-toggle="rating"]' const SELECTOR_RATING_ITEM_INPUT = '.rating-item-input'