diff --git a/botanjs/src/Components/Vim/VimArea.js b/botanjs/src/Components/Vim/VimArea.js index 08e79fb..7256a5c 100644 --- a/botanjs/src/Components/Vim/VimArea.js +++ b/botanjs/src/Components/Vim/VimArea.js @@ -381,7 +381,7 @@ stage.element.value = this.content; delete Insts[ this.__instIndex ]; - stage.dispatchEvent( new Event( "change" ) ); + stage.element.dispatchEvent( new Event( "change" ) ); }; __readOnly( VimArea.prototype, "index", function()