Please, help
After I plugged the code for the bootstraps popover:
Code:
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="/media/jui/js/bootstrap.min.js"></script>
<script>
$(function () {
$('[data-toggle="popover"]').popover();
});
</script>
On category page error appears in the console and does not work correctly popover from bootstrap.
Code:
https://mil-ru.ru/zapadnye
other pages are working perfectly
ERROR
Uncaught TypeError: sel_EL.select2 is not a function
at HTMLSelectElement.<anonymous> (flexi-lib.js?bb20edf…:1231)
at Function.each (jquery.min.js:2)
at n.fn.init.each (jquery.min.js:2)
at fc_attachSelect2 (flexi-lib.js?bb20edf…:1211)
at HTMLDocument.<anonymous> (zapadnye:130)
at i (jquery.min.js:2)
at Object.fireWith [as resolveWith] (jquery.min.js:2)
at Function.ready (jquery.min.js:2)
at HTMLDocument.K (jquery.min.js:2)
(anonymous) @ flexi-lib.js?bb20edf…:1231
each @ jquery.min.js:2
each @ jquery.min.js:2
fc_attachSelect2 @ flexi-lib.js?bb20edf…:1211
(anonymous) @ zapadnye:130
i @ jquery.min.js:2
fireWith @ jquery.min.js:2
ready @ jquery.min.js:2
K @ jquery.min.js:2