skin builder: add coma at the end of the generated code

Closes #3919
pull/3924/head
Sebastian Castro 2020-04-22 16:46:15 +02:00 committed by muxator
parent 208c7a849c
commit 789dd7acd6
1 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ if (window.location.hash.toLowerCase() == "#skinvariantsbuilder") {
domsToUpdate.forEach(function(el) { el.addClass(new_classes.join(" ")); });
$('#skin-variants-result').val('"skinVariants": "' + new_classes.join(" ") + '"');
$('#skin-variants-result').val('"skinVariants": "' + new_classes.join(" ") + '",');
}
// run on init
@ -52,4 +52,4 @@ if (window.location.hash.toLowerCase() == "#skinvariantsbuilder") {
$('#skin-variant-full-width').prop('checked', $('html').hasClass('full-width-editor'));
}
}
}