Commit 6c734dba authored by  JosephK's avatar JosephK
Browse files

Fix code only in the preview box

parent 29ec48a6
Pipeline #45161 passed with stages
in 53 seconds
......@@ -986,6 +986,6 @@ function sense3Generate() { // eslint-disable-line no-unused-vars
params = params.replace(sense3DefaultColors, '').replace(/(;+)$/, '');
const code = `<script type="text/javascript" src="${sense3Baseurl}sense3.js" data-sense3="${params}"></script>`;
$('#sense3_generator code').text(code);
$('#sense3_generator #preview').html(code);
$('#sense3_code code').text(code);
$('#sense3_code #preview').html(code);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment