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

Closes #3919
This commit is contained in:
Sebastian Castro 2020-04-22 16:46:15 +02:00 committed by muxator
parent 208c7a849c
commit 789dd7acd6

View file

@ -35,7 +35,7 @@ if (window.location.hash.toLowerCase() == "#skinvariantsbuilder") {
domsToUpdate.forEach(function(el) { el.addClass(new_classes.join(" ")); }); 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 // run on init