Remove JS editor remnants

This was another issue mentioned in #28
This commit is contained in:
Matt Baer 2018-11-16 12:20:36 -05:00
parent a0f8a2df3b
commit 778098d925
1 changed files with 0 additions and 5 deletions

View File

@ -199,7 +199,6 @@ function createHidden(theForm, key, value) {
function disableSubmit() {
var $form = document.forms['customize-form'];
createHidden($form, 'style_sheet', cssEditor.getSession().getValue());
createHidden($form, 'script', jsEditor.getSession().getValue());
var $btn = document.getElementById("save-changes");
$btn.value = "Saving changes...";
$btn.disabled = true;
@ -224,10 +223,6 @@ var cssEditor = ace.edit("css-editor");
cssEditor.setTheme(theme);
cssEditor.session.setMode("ace/mode/css");
cssEditor.setOptions(opt);
var jsEditor = ace.edit("js-editor");
jsEditor.setTheme(theme);
jsEditor.session.setMode("ace/mode/javascript");
jsEditor.setOptions(opt);
</script>
{{template "footer" .}}