This commit is contained in:
Suzanne Soy 2021-06-23 18:27:59 +01:00
parent 8b95c11e98
commit d3f35c2875

View File

@ -938,7 +938,7 @@ function ___functions_to_html(section) {
var ul = document.createElement('ul'); var ul = document.createElement('ul');
var ta = section.getElementsByTagName('textarea'); var ta = section.getElementsByTagName('textarea');
for (var j = 0; j < ta.length; j++) { for (var j = 0; j < ta.length; j++) {
console.log('toCodeMirror:', ta[j], ta[j].getAttribute('id'), section); console.log('toCodeMirror:', ta[j], ta[j].getAttribute('id'), section, ___ancestor(ta[j], 'section'));
if (___ancestor(ta[j], 'section') == section) { if (___ancestor(ta[j], 'section') == section) {
var lines = ta[j].value.split('\n'); var lines = ta[j].value.split('\n');
var ret = ___toCodeMirror(ta[j]); var ret = ___toCodeMirror(ta[j]);