Skip to content

Commit

Permalink
Merge pull request #228 from web-cooking-factory/fix-select2-default-…
Browse files Browse the repository at this point in the history
…theme

Set select2 default theme to bootstrap4
PululuK authored Jul 12, 2024
2 parents df1171f + b5e2a3e commit c4416af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/prestashop-ui-kit.js
Original file line number Diff line number Diff line change
@@ -32,7 +32,7 @@ $.fn.pstooltip = $.fn.tooltip;
*/
var initSelect2 = function () {
jQuery('[data-toggle="select2"]').each(function () {
var newObj = {minimumResultsForSearch: -1};
var newObj = {minimumResultsForSearch: -1, theme: "bootstrap4"};

for (var attr in $(this).data()) {
if (!attr.localeCompare('templateresult')) {

0 comments on commit c4416af

Please sign in to comment.