diff --git a/edit/edit.js b/edit/edit.js index 1690b93f..d28b15f4 100644 --- a/edit/edit.js +++ b/edit/edit.js @@ -406,6 +406,7 @@ function setupCodeMirror(textarea, index) { event.preventDefault(); fromMozillaFormat(); $('#help-popup').codebox.setValue(text); + $('#help-popup').codebox.clearHistory(); $('#help-popup').codebox.markClean(); } if (editors.length === 1) {