penguin/AstroJS

Javascript framework for my blog

commit 17c4cc4d186ce3488b752bfb1598e5add9316caa

author斟酌 鵬兄 <tgckpg@gmail.com>
date2018-07-25T12:00:40Z
subjecttypo
commit 17c4cc4d186ce3488b752bfb1598e5add9316caa
Author: 斟酌 鵬兄 <tgckpg@gmail.com>
Date:   2018-07-25T12:00:40Z

    typo
---
 botanjs/src/Components/Vim/VimArea.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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()