[TASK] add working choices.js
This commit is contained in:
@ -1,13 +1,3 @@
|
||||
import Choices from "choices.js";
|
||||
|
||||
const selects = document.querySelectorAll('select[multiple]');
|
||||
if(selects) {
|
||||
Array.prototype.forEach.call(selects, (select: HTMLInputElement) => {
|
||||
const choices = new Choices(select);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
/*document.addEventListener('DOMContentLoaded', function() {
|
||||
setDistance('.set-distance-js');
|
||||
});
|
||||
|
Reference in New Issue
Block a user