colibris: Fix skin variant builder after introducing nice-select

pull/3886/head
Sebastian Castro 2020-04-17 08:37:55 +02:00 committed by muxator
parent 621448b92f
commit e2e5c7695b
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ if (window.location.hash.toLowerCase() == "#skinvariantsbuilder") {
domsToUpdate.forEach(function(el) { el.removeClass('full-width-editor'); });
var new_classes = [];
$('.skin-variant-color').each(function() {
$('select.skin-variant-color').each(function() {
new_classes.push($(this).val() + "-" + $(this).data('container'));
})
if ($('#skin-variant-full-width').is(':checked')) new_classes.push("full-width-editor");