Fix: drop innerHTML

This commit is contained in:
eight 2017-11-01 08:50:10 +08:00
parent 534803ccfd
commit 8f642dc05c

View File

@ -10,7 +10,7 @@ function createSourceEditor(style) {
let hadBeenSaved = false;
// draw HTML
$('#sections').innerHTML = '';
$('#sections').textContent = '';
$('#name').disabled = true;
$('#mozilla-format-heading').parentNode.remove();