commit e81fe5cc37e31adb116cbadd59669d9960ad16b9
| author | 斟酌 鵬兄 <tgckpg@gmail.com> |
| date | 2017-01-31T03:54:53Z |
| subject | Fix VA_REC broken by changes of DELETE |
commit e81fe5cc37e31adb116cbadd59669d9960ad16b9
Author: 斟酌 鵬兄 <tgckpg@gmail.com>
Date: 2017-01-31T03:54:53Z
Fix VA_REC broken by changes of DELETE
---
botanjs/src/Components/Vim/Actions/DELETE.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/botanjs/src/Components/Vim/Actions/DELETE.js b/botanjs/src/Components/Vim/Actions/DELETE.js
index 6f1d33d..bf675da 100644
--- a/botanjs/src/Components/Vim/Actions/DELETE.js
+++ b/botanjs/src/Components/Vim/Actions/DELETE.js
@@ -23,7 +23,7 @@
this.__startX = Cursor.aPos;
this.__panY = this.__cursor.feeder.panY;
- this.__cMode = e.kMap( "c" );
+ this.__cMode = e && e.kMap( "c" );
this.__cMode_c = false;
this.__enterEvent = e;