Skip to content

Commit 7fab4ec

Browse files
committed
chore: change comments
1 parent 1b5d785 commit 7fab4ec

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

js/src/multi-select.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* --------------------------------------------------------------------------
33
* CoreUI PRO (v3.4.0): multi-select.js
4-
* Licensed under MIT (https://coreui.io/license)
4+
* Licens (https://coreui.io/pro/license)
55
* --------------------------------------------------------------------------
66
*/
77

@@ -21,7 +21,7 @@ import SelectorEngine from './dom/selector-engine'
2121
*/
2222

2323
const NAME = 'mutli-select'
24-
const VERSION = '3.4.0'
24+
const VERSION = '3.4.0-alpha.0'
2525
const DATA_KEY = 'coreui.mutli-select'
2626
const EVENT_KEY = `.${DATA_KEY}`
2727
const DATA_API_KEY = '.data-api'
@@ -616,7 +616,7 @@ class MultiSelect {
616616
_selectOption(value) {
617617
SelectorEngine.findOne(`option[value="${value}"]`, this._element).selected = true
618618

619-
// TODO: nie podoba mi się to rozwiązanie
619+
// TODO: improve this solution
620620
const option = SelectorEngine.findOne(`[data-value="${value}"]`, this._optionsElement)
621621
if (option) {
622622
option.classList.add(CLASS_NAME_SELECTED)
@@ -630,7 +630,7 @@ class MultiSelect {
630630
_unSelectOption(value) {
631631
SelectorEngine.findOne(`option[value="${value}"]`, this._element).selected = false
632632

633-
// TODO: nie podoba mi się to rozwiązanie
633+
// TODO: improve this solution
634634
const option = SelectorEngine.findOne(`[data-value="${value}"]`, this._optionsElement)
635635
if (option) {
636636
option.classList.remove(CLASS_NAME_SELECTED)

0 commit comments

Comments
 (0)