Fix: drop innerHTML
This commit is contained in:
parent
534803ccfd
commit
8f642dc05c
|
@ -10,7 +10,7 @@ function createSourceEditor(style) {
|
||||||
let hadBeenSaved = false;
|
let hadBeenSaved = false;
|
||||||
|
|
||||||
// draw HTML
|
// draw HTML
|
||||||
$('#sections').innerHTML = '';
|
$('#sections').textContent = '';
|
||||||
$('#name').disabled = true;
|
$('#name').disabled = true;
|
||||||
$('#mozilla-format-heading').parentNode.remove();
|
$('#mozilla-format-heading').parentNode.remove();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user