From 789dd7acd6a92d4b750ba2bf290690090052ecb3 Mon Sep 17 00:00:00 2001 From: Sebastian Castro Date: Wed, 22 Apr 2020 16:46:15 +0200 Subject: [PATCH] skin builder: add coma at the end of the generated code Closes #3919 --- src/static/js/skin_variants.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/static/js/skin_variants.js b/src/static/js/skin_variants.js index 070a114b4..8fc056acf 100644 --- a/src/static/js/skin_variants.js +++ b/src/static/js/skin_variants.js @@ -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')); } -} \ No newline at end of file +}