diff --git a/etemplate/js/et2_extension_nextmatch.js b/etemplate/js/et2_extension_nextmatch.js index 1fea55356d..0316497e18 100644 --- a/etemplate/js/et2_extension_nextmatch.js +++ b/etemplate/js/et2_extension_nextmatch.js @@ -1100,7 +1100,8 @@ var et2_nextmatch = et2_DOMWidget.extend([et2_IResizeable, et2_IInput], return; } - // Free the template again + // Free the template again, it's no longer needed + this.removeChild(template); template.free(); // Call the "setNextmatch" function of all registered