diff --git a/static/js/pad_editor.js b/static/js/pad_editor.js index 6d3cbf40..d336aa87 100644 --- a/static/js/pad_editor.js +++ b/static/js/pad_editor.js @@ -141,6 +141,7 @@ var padeditor = (function() if (self.ace) { self.ace.destroy(); + self.ace = null; } }, disable: function()