diff --git a/edit/sections.js b/edit/sections.js index a36960dc..5e6f8715 100644 --- a/edit/sections.js +++ b/edit/sections.js @@ -428,6 +428,7 @@ function removeAppliesTo(event) { function removeSection(event) { const section = getSectionForChild(event.target); const cm = section.CodeMirror; + setCleanItem($('#sections'), false); removeAreaAndSetDirty(section); editors.splice(editors.indexOf(cm), 1); renderLintReport();