diff --git a/index.html b/index.html
index 09f2ae7fec..87451bc62f 100644
--- a/index.html
+++ b/index.html
@@ -309,6 +309,7 @@ THE SOFTWARE.
onResize();
document.querySelector('#editor').addEventListener('change', onResize);
+ document.querySelector('#editorWrap').addEventListener('change', onResize);
// ----------------- compiler ----------------------