svoydom/public/assets/js/select2.js

13 lines
304 B
JavaScript
Raw Normal View History

2023-05-17 09:57:20 +03:00
// npm package: select2
// github link: https://github.com/select2/select2
$(function() {
'use strict'
if ($(".js-example-basic-single").length) {
$(".js-example-basic-single").select2();
}
if ($(".js-example-basic-multiple").length) {
$(".js-example-basic-multiple").select2();
}
});